Skip to content

Increase shutdown timeout for MCPClient - #20

Merged
liam-lloyd merged 1 commit into
mainfrom
noissue_make_shutdown_more_graceful
Mar 3, 2026
Merged

liam-lloyd merged 1 commit into
mainfrom
noissue_make_shutdown_more_graceful

Conversation

@liam-lloyd

Copy link
Copy Markdown
Member

Currently, when we shut down an MCPClient, its workers get 100 ms to finish their jobs before shutting down. Some of the jobs MCPClients do take considerably longer than that. To avoid errors caused by ungraceful shutdowns, this commit increases that timeout to 30 seconds.

Currently, when we shut down an MCPClient, its workers get 100 ms to
finish their jobs before shutting down. Some of the jobs MCPClients do
take considerably longer than that. To avoid errors caused by ungraceful
shutdowns, this commit increases that timeout to 30 seconds.
@liam-lloyd
liam-lloyd merged commit 0d1809f into main Mar 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants