Commit ab6b71b3 authored by vicotor's avatar vicotor

update

parent 1a2c0501
......@@ -402,7 +402,7 @@ func (wm *WorkerManager) manageWorker(worker *Worker) error {
"success": result.IsSuccessed,
"result code": result.TaskExecuteCode,
"duration": result.TaskExecuteDuration / 1000,
"result length": result.TaskResultBody,
"result length": len(result.TaskResultBody),
}).Info("got result from worker")
if result.TaskExecuteCode == 303 {
log.WithField("result data", result.TaskResultBody).WithField("task", result.TaskId).Info("got worker result body")
......
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