mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
avoid work_results and work release race
* Unsure exactly why this happens but there seems to be a race condition related to the time window between Receptor work_results and work release. This sleep extends that window and hopefully avoids the race condition.
This commit is contained in:
parent
481047bed8
commit
3065e29deb
@ -3151,6 +3151,7 @@ class AWXReceptorJob:
|
||||
except Exception:
|
||||
raise RuntimeError(detail)
|
||||
|
||||
time.sleep(3)
|
||||
return res
|
||||
|
||||
# Spawned in a thread so Receptor can start reading before we finish writing, we
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user