Skip to content

Commit f061823

Browse files
anth-volkclaude
andcommitted
Tune health check cadence: 15s request timeout, 5s poll interval
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent edaa75c commit f061823

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/health_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -euo pipefail
44

55
health_url="${1:?health check URL is required}"
66
timeout_seconds="${HEALTH_CHECK_TIMEOUT_SECONDS:-900}"
7-
interval_seconds="${HEALTH_CHECK_INTERVAL_SECONDS:-10}"
8-
curl_max_time_seconds="${HEALTH_CHECK_CURL_MAX_TIME_SECONDS:-10}"
7+
interval_seconds="${HEALTH_CHECK_INTERVAL_SECONDS:-5}"
8+
curl_max_time_seconds="${HEALTH_CHECK_CURL_MAX_TIME_SECONDS:-15}"
99
deadline=$((SECONDS + timeout_seconds))
1010

1111
while (( SECONDS < deadline )); do

0 commit comments

Comments
 (0)