mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 12:28:22 +00:00
Merge pull request #749 from Routstr/fix/ehbp-timeout-600s
fix(ehbp): raise upstream timeout default to 600s
This commit is contained in:
@@ -25,7 +25,7 @@ from ..core.exceptions import EhbpTimeoutError
|
||||
logger = get_logger(__name__)
|
||||
|
||||
_READ_BUFSIZE = 65536
|
||||
_DEFAULT_TIMEOUT_SECONDS = 60.0
|
||||
_DEFAULT_TIMEOUT_SECONDS = 600.0
|
||||
_DEFAULT_CLOSE_TIMEOUT_SECONDS = 1.0
|
||||
_DEFAULT_MAX_RESPONSE_BYTES = 25 * 1024 * 1024
|
||||
_HOP_BY_HOP_HEADERS = {
|
||||
|
||||
@@ -105,7 +105,7 @@ async def test_bearer_timeout_propagates_504(
|
||||
"forward_with_trailer",
|
||||
AsyncMock(
|
||||
side_effect=EhbpTimeoutError(
|
||||
"EHBP upstream inference.tinfoil.sh timed out after 60s connecting"
|
||||
"EHBP upstream inference.tinfoil.sh timed out after 600s connecting"
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user