summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index 437699bae..76537ebc4 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -339,7 +339,9 @@ func (c *Container) Exec(tty, privileged bool, env, cmd []string, user string) e
}
pidFile := c.execPidPath(sessionID)
- const pidWaitTimeout = 250
+ // 1 second seems a reasonable time to wait
+ // See https://github.com/containers/libpod/issues/1495
+ const pidWaitTimeout = 1000
// Wait until the runtime makes the pidfile
// TODO: If runtime errors before the PID file is created, we have to