Skip to content

Commit dcf3f78

Browse files
committed
Pass customized workerConfig instead of a fresh default one
1 parent bab4b9a commit dcf3f78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func newRunner(ctx context.Context, config *Config) (*runner, error) {
222222
workerConfig := worker.NewConfig()
223223
workerConfig.WorkerNum = 100
224224
workerConfig.QueueSize = 10
225-
r.worker = worker.Run(ctx, worker.NewConfig())
225+
r.worker = worker.Run(ctx, workerConfig)
226226
}
227227

228228
return r, nil

0 commit comments

Comments
 (0)