mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
when writing the rsyslog config, do it post-commit
there's a race condition if we do this pre-commit where the correct value isn't actually *persisted* to the database yet, and we end up saving the *prior* setting values
This commit is contained in:
parent
f70a76109c
commit
bba680671b
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user