From 38f5ae21f8ffb513c1ae78624d3577c844934549 Mon Sep 17 00:00:00 2001 From: Aaron Tan Date: Wed, 28 Sep 2016 14:14:29 -0400 Subject: [PATCH] Set up post_process flag for JobEvent save in callback receiver. --- awx/main/management/commands/run_callback_receiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/management/commands/run_callback_receiver.py b/awx/main/management/commands/run_callback_receiver.py index dcb3906013..d2b89cd44d 100644 --- a/awx/main/management/commands/run_callback_receiver.py +++ b/awx/main/management/commands/run_callback_receiver.py @@ -117,7 +117,7 @@ class CallbackBrokerWorker(ConsumerMixin): else: print("Cache hit") j.parent_id = parent_id - j.save() + j.save(post_process=True) if event_uuid: cache.set("{}_{}".format(payload['job_id'], event_uuid), j.id, 300) except DatabaseError as e: