summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorjgallucci32 <john.gallucci.iv@gmail.com>2020-06-20 09:45:18 -0700
committerjgallucci32 <john.gallucci.iv@gmail.com>2020-06-20 09:48:55 -0700
commit78dd4f2ecb9f85fda87e581b9b2800618223154f (patch)
tree4d37a070bb83f856b0dd14e9e5a5c6c4aede5700 /Dockerfile
parentf403aa3baa23a64e7d6bf3fcbc815644d95b768d (diff)
downloadpodman-78dd4f2ecb9f85fda87e581b9b2800618223154f.tar.gz
podman-78dd4f2ecb9f85fda87e581b9b2800618223154f.tar.bz2
podman-78dd4f2ecb9f85fda87e581b9b2800618223154f.zip
Stop following logs using timers
This incorporates code from PR #6591 and #6614 but does not use event channels to detect container state and rather uses timers with a defined wait duration before calling t.StopAtEOF() to ensure the last log entry is output before a container exits. The polling interval is set to 250 milliseconds based on polling interval defined in hpcloud/tail here: https://github.com/hpcloud/tail/blob/v1.0.0/watch/polling.go#L117 Co-authored-by: Qi Wang <qiwan@redhat.com> Signed-off-by: jgallucci32 <john.gallucci.iv@gmail.com>
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions