Commit 77e4e070 authored by vicotor's avatar vicotor

update

parent 55f1bfe5
......@@ -220,6 +220,7 @@ func (wm *WorkerManager) doCallback(hook string, response *odysseus.TaskResponse
err = utils.Post(hook, d)
if err != nil {
log.WithField("try", i).WithError(err).Error("post task result failed")
time.Sleep(time.Second)
} else {
log.WithField("task-id", response.TaskId).Debug("post task result")
break
......
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