Skip to content

Commit c4580ef

Browse files
authored
[CRCR] update default zombie timeout to 6 hours (#8292)
24 hours is too long for a downstream job to time out. GitHub's default timeout value is 6 hours: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idtimeout-minutes Let's align with GitHub.
1 parent 5d743b6 commit c4580ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • aws/lambda/cross_repo_ci_relay/utils

aws/lambda/cross_repo_ci_relay/utils/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ def from_env(cls) -> "RelayConfig":
155155
rate_limit_per_min = _check_if_positive_int("RATE_LIMIT_PER_MIN", "100")
156156

157157
# Maximum duration an in-progress job is expected to run before being
158-
# considered abandoned (zombie). Default 24 hours (86400 s).
158+
# considered abandoned (zombie). Default 6 hours (21600 s).
159159
zombie_timeout_seconds = _check_if_positive_int(
160-
"ZOMBIE_TIMEOUT_SECONDS", "86400"
160+
"ZOMBIE_TIMEOUT_SECONDS", "21600"
161161
)
162162

163163
max_cleanup_workers = _check_if_positive_int("MAX_CLEANUP_WORKERS", "16")

0 commit comments

Comments
 (0)