mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
Resolve a deadlock in write_receptor_config()
This commit is contained in:
@@ -652,6 +652,7 @@ def write_receptor_config():
|
||||
with open(__RECEPTOR_CONF, 'w') as file:
|
||||
yaml.dump(receptor_config, file, default_flow_style=False)
|
||||
|
||||
# This needs to be outside of the lock because this function itself will acquire the lock.
|
||||
receptor_ctl = get_receptor_ctl()
|
||||
|
||||
attempts = 10
|
||||
|
||||
Reference in New Issue
Block a user