generated from coulomb/repo-seed
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:
@@ -607,7 +607,8 @@ spec:
|
|||||||
method=self.command,
|
method=self.command,
|
||||||
)
|
)
|
||||||
try:
|
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()
|
payload = response.read()
|
||||||
self.send_response(response.status)
|
self.send_response(response.status)
|
||||||
for key, value in response.headers.items():
|
for key, value in response.headers.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user