diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-11-20 11:06:20 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-11-27 12:34:11 +0100 |
commit | 070ce0c85570b79a3612ad1fdf15b5c1287b00b6 (patch) | |
tree | dc1771eefd634a89a1452704c245232bf97ec978 /libpod/boltdb_state.go | |
parent | 049defa98426c50dab781c0493d54aca00a7fbb8 (diff) | |
download | podman-070ce0c85570b79a3612ad1fdf15b5c1287b00b6.tar.gz podman-070ce0c85570b79a3612ad1fdf15b5c1287b00b6.tar.bz2 podman-070ce0c85570b79a3612ad1fdf15b5c1287b00b6.zip |
exec: don't wait for pidfile when the runtime exited
don't wait for the timeout to expire if the runtime process exited.
I've noticed podman to hang on exit and keeping the container lock
taken when the OCI runtime already exited.
Additionally, it reduces the waiting time as we won't hit the 25
milliseconds waiting time in the worst case.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/boltdb_state.go')
0 files changed, 0 insertions, 0 deletions