Skip to content

Commit 11f8d0e

Browse files
andigclaude
andcommitted
refactor: remove unused mu field from streamableHttpSession
Removes unused sync.RWMutex field that was flagged by golangci-lint. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9ea4a10 commit 11f8d0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/streamable_http.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,6 @@ type streamableHttpSession struct {
746746
samplingRequestChan chan samplingRequestItem // server -> client sampling requests
747747
samplingRequests sync.Map // requestID -> pending sampling request context
748748
requestIDCounter atomic.Int64 // for generating unique request IDs
749-
mu sync.RWMutex // protects sampling channels and requests
750749
}
751750

752751
func newStreamableHttpSession(sessionID string, toolStore *sessionToolsStore, levels *sessionLogLevelsStore) *streamableHttpSession {

0 commit comments

Comments
 (0)