fix(STATE-WP-0064): allow 360s POST timeout on state-hub bridge proxy

Consistency sweeps exceed the previous 30s urllib timeout when triggered from
Railiance01 activity-core through actcore-state-hub-bridge.
This commit is contained in:
2026-06-21 20:56:35 +02:00
parent 44987457c1
commit adfd1a9067

View File

@@ -607,7 +607,8 @@ spec:
method=self.command,
)
try:
with urlopen(request, timeout=30) as response:
timeout = 360 if self.command == "POST" else 30
with urlopen(request, timeout=timeout) as response:
payload = response.read()
self.send_response(response.status)
for key, value in response.headers.items():