hacktoberfest
Repository metrics
- Stars
- (26 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Improve server shutdown behavior to ensure connections are cleanly closed.
Description: When the server is shutting down, it should properly close all client connections and clean up resources.
Tasks:
- Add shutdown notification to clients
- Implement graceful connection termination
- Add timeout for force-closing lingering connections
- Add connection draining during shutdown
- Create tests for shutdown behavior
- Update documentation
Related files:
- src/server/serverManager.js