[Router] Add --timeout-keep-alive to configure uvicorn's idle keep-alive timeout - #1098
Open
mrembalski wants to merge 2 commits into
Open
mrembalski wants to merge 2 commits into
mrembalski wants to merge 2 commits into
Conversation
…ive timeout The router started uvicorn with the default 5 s keep-alive timeout and exposed no way to change it, so clients whose requests are spaced more than 5 s apart reconnect on every request even when they pool connections. Default unchanged. Signed-off-by: Michał Rembalski <michal.rembalski@elevenlabs.io>
mrembalski
requested review from
ApostaC,
Shaoting-Feng,
YuhanLiu11 and
ruizhang0101
as code owners
September 22, 2026 20:00
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new command-line argument --timeout-keep-alive to configure the idle HTTP keep-alive connection timeout, which is then passed to the server configuration in app.py. There are no review comments, and I have no additional feedback to provide.
Author
|
@Shaoting-Feng @ruizhang0101 friendly ping per the guideline |
ruizhang0101
enabled auto-merge (squash)
September 29, 2026 22:39
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The router started uvicorn with the default 5 s keep-alive timeout and exposed no way to change it, so clients whose requests are spaced more than 5 s apart reconnect on every request even when they pool connections. Default unchanged.
FIX #1102
-swhen doinggit commit[Bugfix],[Feat], and[CI].