diff --git a/routstr/upstream/tinfoil_trailer.py b/routstr/upstream/tinfoil_trailer.py index ec3065d6..1b4bb60d 100644 --- a/routstr/upstream/tinfoil_trailer.py +++ b/routstr/upstream/tinfoil_trailer.py @@ -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 = { diff --git a/tests/unit/test_ehbp_timeout.py b/tests/unit/test_ehbp_timeout.py index c9e749cb..7ae78cc4 100644 --- a/tests/unit/test_ehbp_timeout.py +++ b/tests/unit/test_ehbp_timeout.py @@ -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" ) ), )