Commit Graph
6 Commits
Author SHA1 Message Date
Cédric Krier 9c9f9fd60f Use different table instance for ir.queue sub-queries
It is cleaner and safer to use different instances for sub-queries.

issue9682
review294671002
2020-10-12 13:01:14 +02:00
Cédric Krier 642bd01520 Modify a copy of the context when pushing into the queue
issue9549
review327901002
2020-08-29 18:26:14 +02:00
Cédric Krier 0b85f26f78 Add cron task to clean old queue tasks
issue9502
review306141002
2020-08-11 22:03:20 +02:00
Cédric Krier 5e41ca21f9 Convert interval into seconds
The correct way to convert interval into seconds is to use
"EXTRACT(EPOCH FROM ...)". The "SECOND" gives only the value of the second
field.

issue9126
review297181005
2020-03-17 23:21:20 +01:00
Cédric Krier 973e428caa Replace advisory lock by SKIP LOCKED in queue pulling
It is simpler and closer to standard SQL.

issue8910
review288701002
2019-12-28 18:05:25 +01:00
Cédric Krier ae06a8bca2 Add transactional queue and workers
issue7406
review45461002
2018-07-27 09:32:28 +02:00