修复
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m23s

This commit is contained in:
2026-08-10 17:37:55 +08:00
parent 77ce9db722
commit f6b11eb9ac
13 changed files with 197 additions and 13 deletions

View File

@@ -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;

View File

@@ -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';