Fix event counting in error handling path

This commit is contained in:
Alan Rominger
2022-08-10 16:16:57 -04:00
parent 30f556f845
commit 43a50cc62c
+1 -1
View File
@@ -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