Skip to content

init aiohttp.TCPConnector with keepalive_timeout param#872

Open
oOTWK wants to merge 1 commit intotriton-inference-server:mainfrom
oOTWK:httpaiopatch
Open

init aiohttp.TCPConnector with keepalive_timeout param#872
oOTWK wants to merge 1 commit intotriton-inference-server:mainfrom
oOTWK:httpaiopatch

Conversation

@oOTWK
Copy link
Copy Markdown

@oOTWK oOTWK commented Dec 12, 2025

The default value of keepalive_timeout in aiohttp.TCPConnector is 15 seconds https://docs.aiohttp.org/en/stable/client_reference.html#connectors.
This is useful to avoid handshake latency while the connection is open. This patch allows configuring the parameter in tritonclient.http.aio.InferenceServerClient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant