[FIX] core: typo in cron comment
Fine tuning of 81c70a594a785 closes odoo/odoo#99383 X-original-commit: edbacffaf470ee74a111235a8b81acb858cfb2ad Signed-off-by: Julien Castiaux <juc@odoo.com>
This commit is contained in:
@@ -260,7 +260,7 @@ class ir_cron(models.Model):
|
||||
try:
|
||||
cr.execute(query, [job_ids], log_exceptions=False)
|
||||
except psycopg2.extensions.TransactionRollbackError:
|
||||
# A serialization error can occurs when anoter cron worker
|
||||
# A serialization error can occur when another cron worker
|
||||
# commits the new `nextcall` value of a cron it just ran and
|
||||
# that commit occured just before this query. The error is
|
||||
# genuine and the job should be skipped in this cron worker.
|
||||
|
||||
Reference in New Issue
Block a user