jstack
jstack copied to clipboard
fix: enhance websocket stability and error handling
This PR includes several reliability improvements:
- Add timeout and retry mechanism for stargazers action
- Fix memory leak in websocket implementation
- Fix table of content state issues
- Enhance Redis pub/sub with proper error handling and timeouts
Testing:
- Verified websocket connections properly close
- Confirmed Redis operations now timeout after 5s
- Tested table of content state updates