This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- 回滚至旧的四项配置集合。
|
||||
DELETE FROM tb_polling_concurrency_config
|
||||
WHERE task_type IN ('protect', 'card_status');
|
||||
|
||||
INSERT INTO tb_polling_concurrency_config (task_type, max_concurrency, description)
|
||||
VALUES ('stop_start', 50, '停复机检查最大并发数')
|
||||
ON CONFLICT (task_type) DO NOTHING;
|
||||
@@ -0,0 +1,9 @@
|
||||
-- 轮询并发配置与实际执行的五类短任务类型保持一致。
|
||||
INSERT INTO tb_polling_concurrency_config (task_type, max_concurrency, description)
|
||||
VALUES
|
||||
('protect', 300, '保护期检查最大并发数'),
|
||||
('card_status', 300, '卡状态检查最大并发数')
|
||||
ON CONFLICT (task_type) DO NOTHING;
|
||||
|
||||
DELETE FROM tb_polling_concurrency_config
|
||||
WHERE task_type = 'stop_start';
|
||||
Reference in New Issue
Block a user