Files
junhong_cmp_fiber/migrations/000206_fix_polling_concurrency_task_configs.up.sql
break f6b11eb9ac
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m23s
修复
2026-08-10 17:37:55 +08:00

10 lines
393 B
SQL

-- 轮询并发配置与实际执行的五类短任务类型保持一致。
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';