Skip to content

Conversation

jspahrsummers
Copy link
Member

abortAfterTimeout was fundamentally flawed because it doesn't support easy cancellation of the timeout, meaning that it would create a bunch of timers that end up leaking.

RequestOptions.timeout is probably closer to expectation of how the API should work anyway—it just increases complexity of the implementation.

@jspahrsummers jspahrsummers merged commit 1cb92b6 into main Nov 16, 2024
3 checks passed
@jspahrsummers jspahrsummers deleted the justin/remove-abort-after-timeout branch November 16, 2024 16:40
Pizzaface pushed a commit to RewstApp/mcp-inspector that referenced this pull request May 2, 2025
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.

1 participant