Change sleep to 15ms
This is currently the optimal value for this setting based on runc start times. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3742ae3ec8
commit
ae107f688e
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ func (c *container) waitForStart(p *process, cmd *exec.Cmd) error {
|
||||||
wc <- ErrContainerNotStarted
|
wc <- ErrContainerNotStarted
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
time.Sleep(50 * time.Millisecond)
|
time.Sleep(15 * time.Millisecond)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
wc <- err
|
wc <- err
|
||||||
|
|
Loading…
Reference in a new issue