summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-08-31 16:27:33 -0400
committerGitHub <noreply@github.com>2018-08-31 16:27:33 -0400
commitc65a8bad8f99867cff5bf0d914796897fbebc30d (patch)
tree31e8b1fc10108da38b6e2551c64f67e1b5f01ab2 /libpod
parent2491f3d6b2de5e6e5af2178bae2a260a3106b8a4 (diff)
parent4291a43a54edac8c0a06e42f8cd69d2020e559f2 (diff)
downloadpodman-c65a8bad8f99867cff5bf0d914796897fbebc30d.tar.gz
podman-c65a8bad8f99867cff5bf0d914796897fbebc30d.tar.bz2
podman-c65a8bad8f99867cff5bf0d914796897fbebc30d.zip
Merge pull request #1392 from mheon/up_wait_duration
Up time between checks for podman wait
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index 5df7e2f0e..86e2370ea 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -597,7 +597,7 @@ func (c *Container) Wait() (int32, error) {
return -1, ErrCtrRemoved
}
- err := wait.PollImmediateInfinite(1,
+ err := wait.PollImmediateInfinite(100*time.Millisecond,
func() (bool, error) {
stopped, err := c.isStopped()
if err != nil {