fix: keep scan build timeout below proxy limit
This commit is contained in:
@@ -46,4 +46,4 @@ def test_scan_terminal_backend_timeout_returns_before_next_proxy_abort():
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
assert 'POLYWEATHER_SCAN_TERMINAL_PROXY_TIMEOUT_MS || "28000"' in route_source
|
||||
assert scan_terminal_config.SCAN_TERMINAL_BUILD_TIMEOUT_SEC <= 24
|
||||
assert scan_terminal_config.SCAN_TERMINAL_BUILD_TIMEOUT_SEC <= 20
|
||||
|
||||
@@ -33,7 +33,7 @@ SCAN_TERMINAL_BUILD_TIMEOUT_SEC = _env_int(
|
||||
"POLYWEATHER_SCAN_TERMINAL_BUILD_TIMEOUT_SEC",
|
||||
20,
|
||||
min_value=8,
|
||||
max_value=24,
|
||||
max_value=20,
|
||||
)
|
||||
SCAN_TERMINAL_MAX_WORKERS = _env_int(
|
||||
"POLYWEATHER_SCAN_TERMINAL_MAX_WORKERS",
|
||||
|
||||
Reference in New Issue
Block a user