From ae107f688ec3a08fff71131df33a3d2da9215f2d Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Tue, 5 Apr 2016 14:07:26 -0700 Subject: [PATCH] Change sleep to 15ms This is currently the optimal value for this setting based on runc start times. Signed-off-by: Michael Crosby --- runtime/container_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/container_linux.go b/runtime/container_linux.go index 721b4b9..25fd9a4 100644 --- a/runtime/container_linux.go +++ b/runtime/container_linux.go @@ -383,7 +383,7 @@ func (c *container) waitForStart(p *process, cmd *exec.Cmd) error { wc <- ErrContainerNotStarted return } - time.Sleep(50 * time.Millisecond) + time.Sleep(15 * time.Millisecond) continue } wc <- err