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:
Michael Crosby 2016-04-05 14:07:26 -07:00
parent 3742ae3ec8
commit ae107f688e

View file

@ -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