修改一些问题

This commit is contained in:
Yun
2025-10-14 12:13:28 +08:00
parent bcd18b698a
commit 459911a579
+2 -2
View File
@@ -92,8 +92,8 @@ func InitCluster(ctx context.Context, red redis.UniversalClient, keyPrefix strin
instanceId: U.String(),
cronParser: op.cronParser,
batchSize: op.batchSize,
workerChan: make(chan struct{}, op.maxRunCount),
maxWorkers: op.maxRunCount,
workerChan: make(chan struct{}, op.maxWorkers),
maxWorkers: op.maxWorkers,
}
// 初始化优先级