修改一些问题
This commit is contained in:
+2
-2
@@ -92,8 +92,8 @@ func InitCluster(ctx context.Context, red redis.UniversalClient, keyPrefix strin
|
|||||||
instanceId: U.String(),
|
instanceId: U.String(),
|
||||||
cronParser: op.cronParser,
|
cronParser: op.cronParser,
|
||||||
batchSize: op.batchSize,
|
batchSize: op.batchSize,
|
||||||
workerChan: make(chan struct{}, op.maxRunCount),
|
workerChan: make(chan struct{}, op.maxWorkers),
|
||||||
maxWorkers: op.maxRunCount,
|
maxWorkers: op.maxWorkers,
|
||||||
}
|
}
|
||||||
|
|
||||||
// 初始化优先级
|
// 初始化优先级
|
||||||
|
|||||||
Reference in New Issue
Block a user