Commit graph

17 commits

Author SHA1 Message Date
Kijin Sung
8014413163 Implement high and low priority for queued tasks #2453 2025-05-21 18:33:19 +09:00
Kijin Sung
924c98bf4e Decode args and options in getScheduledTask() 2024-12-12 21:06:38 +09:00
Kijin Sung
5ff2f15485 Add methods to manage scheduled tasks 2024-12-12 11:25:29 +09:00
Kijin Sung
caf882fed0 Delete unnecessary methods from dummy queue driver 2024-12-12 11:18:50 +09:00
Kijin Sung
b21b700570 Add placeholder methods to dummy queue driver 2024-12-12 01:56:21 +09:00
Kijin Sung
ffeb9133ab Update first_run timestamp of tasks run at an interval 2024-12-12 01:55:59 +09:00
Kijin Sung
f87429687a Assign task_srl to scheduled tasks 2024-12-12 01:49:38 +09:00
Kijin Sung
53cd6e807d Implement scheduled tasks 2024-12-12 00:49:18 +09:00
Kijin Sung
d3b3dc7b0e Improve compatibility with old DB versions that can't take current_timestamp() as a default value for DATETIME column 2024-11-20 14:03:22 +09:00
Kijin Sung
36af489b15 Validate queue driver configuration before saving 2024-10-12 01:35:13 +09:00
Kijin Sung
0ee9747a22 Use SELECT ... FOR UPDATE to guard against race conditions in DB queue driver 2024-10-12 01:22:04 +09:00
Kijin Sung
29837bdf4c Fix return type of QueueInterface::getInstance() 2024-10-11 23:38:29 +09:00
Kijin Sung
4b0b485a13 Add basic unit tests for Queue class using Dummy driver 2024-10-11 23:19:53 +09:00
Kijin Sung
a2a1f3bcc6 Implement admin config screen for Queue 2024-10-10 01:45:14 +09:00
Kijin Sung
d8370ff59b Add dummy driver, clean up loose ends and start writing admin page 2024-10-10 00:07:35 +09:00
Kijin Sung
09fa4778c0 Add DB queue driver 2024-10-09 23:12:55 +09:00
Kijin Sung
78bbc2ffa5 Initial structure of Queue system, with Redis driver 2024-10-09 22:59:08 +09:00