Skip to content

Commit

Permalink
Reduce infinite loop sleep interval
Browse files Browse the repository at this point in the history
This will allow the container to exit more responsively when requested.
  • Loading branch information
felddy committed Nov 1, 2023
1 parent 67738be commit cfc4e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ if [[ "${requested_s3_url}" == "true" && "${CONTAINER_CACHE:-}" == "" ]]; then
log_warn "This configuration could lead to a restart loop putting excessive load on the release server."
log_warn "Please re-enable the CONTAINER_CACHE to allow the container to safely exit."
log_warn "Sleeping..."
while true; do sleep 60; done
while true; do sleep 4; done
fi

exit 0

0 comments on commit cfc4e64

Please sign in to comment.