changeset 87b102b5b4ab in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=87b102b5b4ab
description:
Stop cron database retry after successful execution
issue9170
review297311002
diffstat:
trytond/ir/cron.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r db124ccb77e2 -r 87b102b5b4ab trytond/ir/cron.py
--- a/trytond/ir/cron.py Thu Mar 19 19:17:29 2020 +0100
+++ b/trytond/ir/cron.py Tue Mar 24 10:02:58 2020 +0100
@@ -139,7 +139,7 @@
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)