The-DevOps-Daily/pg-wire-mock

Add Graceful Shutdown Handling

Open

#58 建立於 2025年9月26日

在 GitHub 查看
 (3 留言) (0 反應) (1 負責人)JavaScript (15 fork)github user discovery
hacktoberfest

倉庫指標

Star
 (26 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南