summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2021-09-21 14:24:23 -0400
committerMatthew Heon <matthew.heon@pm.me>2021-09-21 15:32:07 -0400
commit4ecbc7caae1726f0eb4646aa0bd94947eed86f90 (patch)
treeb186d39e81c75d9af078507a45d823702122b896 /go.mod
parentcd7b48198c38c5028540e85dc72dd3406f4318f0 (diff)
downloadpodman-4ecbc7caae1726f0eb4646aa0bd94947eed86f90.tar.gz
podman-4ecbc7caae1726f0eb4646aa0bd94947eed86f90.tar.bz2
podman-4ecbc7caae1726f0eb4646aa0bd94947eed86f90.zip
Add a backoff and retries to retrieving exited event
There's a potential race around extremely short-running containers and events with journald. Events may not be written for some time (small, but appreciable) after they are received, and as such we can fail to retrieve it if there is a sufficiently short time between us writing the event and trying to read it. Work around this by just retrying, with a 0.25 second delay between retries, up to 4 times. [NO TESTS NEEDED] because I have no idea how to reproduce this race in CI. Fixes #11633 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions