simplify: 移除 leader lock,单实例无需分布式锁

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
guoyongchang
2026-03-05 16:31:27 +08:00
parent 9a8dacc514
commit 817a491087
6 changed files with 4 additions and 119 deletions

View File

@@ -56,7 +56,6 @@ var ProviderSet = wire.NewSet(
NewSoraAccountRepository, // Sora 账号扩展表仓储
NewScheduledTestPlanRepository, // 定时测试计划仓储
NewScheduledTestResultRepository, // 定时测试结果仓储
NewLeaderLocker, // 分布式 leader 选举
NewProxyRepository,
NewRedeemCodeRepository,
NewPromoCodeRepository,