Skip to content

Commit

Permalink
Merge pull request containers#13414 from rvandernoort/exec_delay
Browse files Browse the repository at this point in the history
Add ExitCommandDelay configuration use in API exec handler
  • Loading branch information
openshift-merge-robot authored Mar 7, 2022
2 parents 861d169 + 2fb6a8d commit 2873f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/handlers/compat/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func ExecCreateHandler(w http.ResponseWriter, r *http.Request) {

// Run the exit command after 5 minutes, to mimic Docker's exec cleanup
// behavior.
libpodConfig.ExitCommandDelay = 5 * 60
libpodConfig.ExitCommandDelay = runtimeConfig.Engine.ExitCommandDelay

sessID, err := ctr.ExecCreate(libpodConfig)
if err != nil {
Expand Down

0 comments on commit 2873f08

Please sign in to comment.