mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 04:45:03 -02:30
Merge pull request #3613 from jangsutsr/3534_job_host_summary_missing
Set up post_process flag for JobEvent save in callback receiver.
This commit is contained in:
@@ -117,7 +117,7 @@ class CallbackBrokerWorker(ConsumerMixin):
|
|||||||
else:
|
else:
|
||||||
print("Cache hit")
|
print("Cache hit")
|
||||||
j.parent_id = parent_id
|
j.parent_id = parent_id
|
||||||
j.save()
|
j.save(post_process=True)
|
||||||
if event_uuid:
|
if event_uuid:
|
||||||
cache.set("{}_{}".format(payload['job_id'], event_uuid), j.id, 300)
|
cache.set("{}_{}".format(payload['job_id'], event_uuid), j.id, 300)
|
||||||
except DatabaseError as e:
|
except DatabaseError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user