switched to using the built in task processing

Signed-off-by: Jessica Mack <jmack@redhat.com>
This commit is contained in:
Jessica Mack
2023-01-30 10:37:28 -05:00
committed by Hao Liu
parent 9f959ca3d4
commit cb31973d59
2 changed files with 10 additions and 14 deletions

View File

@@ -242,8 +242,8 @@ def apply_cluster_membership_policies():
@task(queue='tower_settings_change')
def clear_setting_cache(setting_keys):
# notify the service to clear the cache
send_pg_notify('tower_settings_change', setting_keys)
# log that cache is being cleared
logger.info(f"clear_setting_cache of keys {setting_keys}")
@task(queue='tower_broadcast_all')