Stop cron database retry after successful execution
issue9170 review297311002
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ class Cron(DeactivableMixin, ModelSQL, ModelView):
|
||||
and count):
|
||||
continue
|
||||
logger.error('Running cron %s', cron.id, exc_info=True)
|
||||
break
|
||||
break
|
||||
while transaction.tasks:
|
||||
task_id = transaction.tasks.pop()
|
||||
run_task(db_name, task_id)
|
||||
|
||||
Reference in New Issue
Block a user