Skip to content

Conversation

@cryo-zd
Copy link
Contributor

@cryo-zd cryo-zd commented Aug 17, 2025

change:

Reorder the logic within ServerSession.initialized to ensure ss.startKeepalive is called only after the session's state is validated.
The startKeepalive function is now only invoked when the session is first transitioning from initialize to initialized state.

Fixes #313

@jba jba requested a review from findleyr August 18, 2025 16:12
Copy link
Contributor

@findleyr findleyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@findleyr findleyr merged commit 112ca4e into modelcontextprotocol:main Aug 19, 2025
5 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.

Excessive goroutine creation on duplicate 'initialized' notification

2 participants