Skip to content

Commit

Permalink
Merge pull request #1392 from mheon/up_wait_duration
Browse files Browse the repository at this point in the history
Up time between checks for podman wait
  • Loading branch information
mheon authored Aug 31, 2018
2 parents 2491f3d + 4291a43 commit c65a8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/container_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c65a8ba

Please sign in to comment.