mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Revert "Reduce API response times by caching migration flag"
This reverts commit 5433af6716.
This commit is contained in:
@@ -263,12 +263,6 @@ def apply_cluster_membership_policies():
|
||||
logger.debug('Cluster policy computation finished in {} seconds'.format(time.time() - started_compute))
|
||||
|
||||
|
||||
@task(queue='tower_broadcast_all', exchange_type='fanout')
|
||||
def set_migration_flag():
|
||||
logger.debug('Received migration-in-progress signal, will serve redirect.')
|
||||
cache.set('migration_in_progress', True)
|
||||
|
||||
|
||||
@task(queue='tower_broadcast_all', exchange_type='fanout')
|
||||
def handle_setting_changes(setting_keys):
|
||||
orig_len = len(setting_keys)
|
||||
|
||||
Reference in New Issue
Block a user