diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-08-31 16:27:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 16:27:33 -0400 |
commit | c65a8bad8f99867cff5bf0d914796897fbebc30d (patch) | |
tree | 31e8b1fc10108da38b6e2551c64f67e1b5f01ab2 | |
parent | 2491f3d6b2de5e6e5af2178bae2a260a3106b8a4 (diff) | |
parent | 4291a43a54edac8c0a06e42f8cd69d2020e559f2 (diff) | |
download | podman-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
-rw-r--r-- | libpod/container_api.go | 2 |
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 { |