Commit 03496321 authored by vicotor's avatar vicotor

update

parent 9b5a6bb4
......@@ -170,7 +170,7 @@ func (n *Node) Loop(idx int) {
l.WithError(err).Error("pop worker failed")
continue
}
err = DispatchTask(worker, task)
err = DispatchTask(n.rdb, worker, task)
if err != nil {
l.WithError(err).Error("dispatch task failed")
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment