Skip to content

Commit

Permalink
Lower exit code retry interval to 1 second (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsipinakis authored Mar 13, 2022
1 parent c6fdf4c commit 57a5eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/docker/docker_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,12 +1090,12 @@ loop:
}
d.logger.Debug(
message.Wrap(lastError,
message.EDockerFetchingExitCodeFailed, "Failed to fetch exit code, retrying in 10 seconds"),
message.EDockerFetchingExitCodeFailed, "Failed to fetch exit code, retrying in 1 second"),
)
select {
case <-ctx.Done():
break loop
case <-time.After(10 * time.Second):
case <-time.After(1 * time.Second):
}
}
if lastError == nil {
Expand Down

0 comments on commit 57a5eba

Please sign in to comment.