diff --git a/awx/main/tasks.py b/awx/main/tasks.py index c69a0c7f78..95118c5751 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -288,7 +288,7 @@ def handle_setting_changes(setting_keys): setting.startswith('LOG_AGGREGATOR') for setting in setting_keys ]): - reconfigure_rsyslog() + connection.on_commit(reconfigure_rsyslog) @task(queue='tower_broadcast_all')