mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Fix event counting in error handling path
This commit is contained in:
parent
30f556f845
commit
43a50cc62c
@ -178,7 +178,7 @@ class CallbackBrokerWorker(BaseWorker):
|
||||
for e in events:
|
||||
try:
|
||||
e.save()
|
||||
events_saved += 0
|
||||
events_saved += 1
|
||||
consecutive_errors = 0
|
||||
except Exception as exc_indv:
|
||||
consecutive_errors += 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user