* Add concurrency a per-script concurrency limit * Add a per-script per time window concurrency limit * Improve feature with a better estimation of the next schedule timestamp * Add concurrency limits for inline scripts * Fix tests * run sqlx prepare * Add requeue event to job logs
6 lines
272 B
SQL
6 lines
272 B
SQL
-- Add up migration script here
|
|
ALTER TABLE script ADD COLUMN concurrent_limit INTEGER;
|
|
ALTER TABLE script ADD COLUMN concurrency_time_window_s INTEGER;
|
|
ALTER TABLE queue ADD COLUMN concurrent_limit INTEGER;
|
|
ALTER TABLE queue ADD COLUMN concurrency_time_window_s INTEGER;
|