feat: Sanitize environment variables (#1785)

This commit is contained in:
Kroese
2026-07-03 16:25:39 +02:00
committed by GitHub
parent fc8c850b6d
commit 700b3b0902
2 changed files with 13 additions and 7 deletions
+1
View File
@@ -168,6 +168,7 @@ graceful_shutdown() {
local term_grace=3 # seconds before loop ends to send SIGTERM
local cleanup_grace=3 # seconds reserved after the loop for cleanup
TIMEOUT=$(strip "$TIMEOUT")
if [[ ! "$TIMEOUT" =~ ^[0-9]+$ ]]; then
TIMEOUT=115
fi