Merge pull request #749 from Routstr/fix/ehbp-timeout-600s

fix(ehbp): raise upstream timeout default to 600s
This commit is contained in:
9qeklajc
2026-09-21 00:59:56 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 = {
+1 -1
View File
@@ -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"
)
),
)