Hardcoded grace period display corrected
This commit is contained in:
@@ -153,7 +153,7 @@ while true; do
|
|||||||
# First 502 error - start grace period
|
# First 502 error - start grace period
|
||||||
ERROR_START_TIME=$(date +%s)
|
ERROR_START_TIME=$(date +%s)
|
||||||
IN_GRACE_PERIOD=true
|
IN_GRACE_PERIOD=true
|
||||||
log "502 error detected - starting 5-minute grace period (recovery window for deployment scenarios)"
|
log "502 error detected - starting $(( GRACE_PERIOD / 60 ))- minute grace period (recovery window for deployment scenarios)"
|
||||||
else
|
else
|
||||||
# Already in grace period - check if it has expired
|
# Already in grace period - check if it has expired
|
||||||
CURRENT_TIME=$(date +%s)
|
CURRENT_TIME=$(date +%s)
|
||||||
|
|||||||
Reference in New Issue
Block a user