Skip to content

Commit d779401

Browse files
Add inactivity timeout to ServerRedisTransport
- Add 5-minute inactivity timeout to prevent memory leaks - Reset timer on each message received from client - Clear timer on transport close - Add comprehensive tests for timeout behavior - Fix async/await in redisRelayToMcpServer calls Sessions will now automatically shutdown after 5 minutes of no client activity. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 728c3f6 commit d779401

File tree

4 files changed

+3995
-4802
lines changed

4 files changed

+3995
-4802
lines changed

0 commit comments

Comments
 (0)