Commit 77fb118e authored by duanjinfei's avatar duanjinfei

update wait image running time

parent 1407de9f
...@@ -151,7 +151,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage) ...@@ -151,7 +151,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
return return
} }
log.Infof("Started container with ID %s", containerId) log.Infof("Started container with ID %s", containerId)
time.Sleep(time.Second * 60) time.Sleep(time.Second * 45)
running, internalIp, internalPort = t.foundImageIsRunning(imageId) running, internalIp, internalPort = t.foundImageIsRunning(imageId)
if running { if running {
isMatch := strings.HasPrefix(taskCmd.ImageName, models.ReplicateImageNameSuffix) isMatch := strings.HasPrefix(taskCmd.ImageName, models.ReplicateImageNameSuffix)
......
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