diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-07-27 12:00:15 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-07-27 12:00:15 +0200 |
commit | 7689783ae53aa29a79c2e98d6f59711bfcf0efcf (patch) | |
tree | e2947cfd575e3aa7779d8b2bf00860c007fd492f /libpod/container_internal_test.go | |
parent | d7b2f03f8a5d0e3789ac185ea03989463168fb76 (diff) | |
download | podman-7689783ae53aa29a79c2e98d6f59711bfcf0efcf.tar.gz podman-7689783ae53aa29a79c2e98d6f59711bfcf0efcf.tar.bz2 podman-7689783ae53aa29a79c2e98d6f59711bfcf0efcf.zip |
exec: fix cleanup
Commit 341e6a1 made sure that all exec sessions are getting cleaned up.
But it also came with a peformance penalty. Fix that penalty by
spawning the cleanup process to really only cleanup the exec session
without attempting to remove the container.
[NO TESTS NEEDED] since we have no means to test such performance
issues in CI.
Fixes: #10701
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'libpod/container_internal_test.go')
0 files changed, 0 insertions, 0 deletions