From cce816bfdc9842439cdb8e7ca575118defd0820f Mon Sep 17 00:00:00 2001 From: ProtocolWarden Date: Mon, 15 Jun 2026 01:07:04 -0400 Subject: [PATCH] fix(custodian-sweep): raise per-repo timeout from 120s to 180s OC custodian-audit runs ~94s under light load but consistently exceeds 120s when the sweep is running parallel jobs. The timeout caused the sweep to emit `custodian-audit timed out (>120s)` for OperationsCenter each cycle even though the audit itself reports 0 findings. 180s gives the OC audit a safe margin even under concurrent sweep load. Co-Authored-By: Claude Sonnet 4.6 --- src/operations_center/entrypoints/custodian_sweep/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operations_center/entrypoints/custodian_sweep/main.py b/src/operations_center/entrypoints/custodian_sweep/main.py index b37597410..8dccf9513 100644 --- a/src/operations_center/entrypoints/custodian_sweep/main.py +++ b/src/operations_center/entrypoints/custodian_sweep/main.py @@ -38,7 +38,7 @@ _DEFAULT_HISTORY_PATH = Path("state/custodian_sweep/last_sweep.json") _DEDUP_LABEL_PREFIX = "custodian-sweep:" # one label per repo for dedup -_DEFAULT_TIMEOUT_SECONDS = 120 +_DEFAULT_TIMEOUT_SECONDS = 180 @dataclass(frozen=True)