runbot/forwardport/models
Xavier Morel 029957dbeb [IMP] *: trigger-ify task queue type crons
These are pretty simple to convert as they are straightforward: an
item is added  to a work queue (table), then a cron regularly scans
through the table executing the items and deleting them.

That means the cron trigger can just be added on `create` and things
should work out fine.

There's just two wrinkles in the port_forward cron:

- It can be requeued in the future, so needs a conditional trigger-ing
  in `write`.
- It is disabled during freeze (maybe something to change), as a
  result triggers don't enqueue at all, so we need to immediately
  trigger after freeze to force the cron re-enabling it.
2024-08-02 15:14:50 +02:00
..
__init__.py [ADD] runbot_merge: ~~tree~~ freeze wizard 2021-11-17 10:40:12 +01:00
forwardport.py [IMP] *: trigger-ify task queue type crons 2024-08-02 15:14:50 +02:00
project_freeze.py [IMP] *: trigger-ify task queue type crons 2024-08-02 15:14:50 +02:00
project.py [IMP] *: crons tests running for better triggered compatibility 2024-08-02 09:00:34 +02:00