Additional Windows CI fixes (bd-99)

- Write PID to daemon.pid when acquiring lock for Windows compatibility
- Increase socket cleanup timeout to 5s for Windows
- Windows can't read locked files, so PID file is required fallback
This commit is contained in:
Steve Yegge
2025-10-24 10:12:59 -07:00
parent 09e51b2184
commit 42480014b3
3 changed files with 13 additions and 9 deletions

View File

@@ -264,7 +264,7 @@ func (s *Server) Stop() error {
select {
case <-s.doneChan:
// Cleanup completed
case <-time.After(2 * time.Second):
case <-time.After(5 * time.Second):
// Timeout waiting for cleanup - continue anyway
}