Commit 89b1b0ce authored by vicotor's avatar vicotor

update timestamp

parent 0c7cbbc0
......@@ -502,7 +502,7 @@ func (wm *WorkerManager) Payment(task *odysseus.TaskContent) error {
}
func (wm *WorkerManager) makeReceipt(worker *Worker, task *odysseus.TaskContent, result *omanager.SubmitTaskResult, err error) *odysseus.TaskReceipt {
now := uint64(time.Now().Unix())
now := uint64(time.Now().UnixNano())
receipt := &odysseus.TaskReceipt{
TaskUuid: task.TaskUuid,
TaskFinishTime: now,
......
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