chore(queue): support option setting (#593)
This commit is contained in:
@@ -46,7 +46,7 @@ func TestMain(m *testing.M) {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
w = simple.NewWorker(int(cfg.Core.QueueNum))
|
||||
w = simple.NewWorker()
|
||||
q = queue.NewQueue(w, 4)
|
||||
q.Start()
|
||||
defer func() {
|
||||
|
||||
Reference in New Issue
Block a user