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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user