mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
fix: 移除未使用的类型导出,清理代码
This commit is contained in:
@@ -640,6 +640,12 @@ export async function startServer(options: ServerOptions = {}): Promise<http.Ser
|
||||
try {
|
||||
const healthCheckService = getHealthCheckService();
|
||||
healthCheckService.startAllHealthChecks(initialPath);
|
||||
|
||||
// Graceful shutdown: stop health checks when server closes
|
||||
server.on('close', () => {
|
||||
console.log('[Server] Shutting down health check service...');
|
||||
healthCheckService.stopAllHealthChecks();
|
||||
});
|
||||
} catch (err) {
|
||||
console.warn('[Server] Failed to start health check service:', err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user