Commit Graph
7 Commits
Author SHA1 Message Date
Cédric Krier 158bd2f8f6 Make reschedule delay linear
An exponential factor growths too fast and so reschedule too much in the
future.

issue9428
review315631002
2020-06-27 00:54:03 +02:00
Sergi Almacellas Abellana c2ca4704db Add sleep and logging on run_task without worker
issue9325
review293701002
2020-05-22 11:25:01 +02:00
Cédric Krier ab161982e9 Reschedule task failing for operational errors
We should always try to execute them later as operational errors should be
temporary.

issue9252
review319301002
2020-04-28 00:28:06 +02:00
Nicolas Évrard 8fb13634ea Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:47 +01:00
Cédric Krier 66a283613f Do not log as failure rollbacked tasks
A task that was added to the transaction may no more exist if the transaction
was rollbacked at some point.

issue8686
review249991002
2019-10-08 19:06:18 +02:00
Cédric Krier 0b6c923834 Add increasing delay on OperationalError
This increase the success rate of retry if the other transaction last.

issue8014
review50701002
2019-02-04 22:23:12 +01:00
Cédric Krier ae06a8bca2 Add transactional queue and workers
issue7406
review45461002
2018-07-27 09:32:28 +02:00