2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-19 21:07:05 +08:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Mohammed Sohail
71c746d00a fix: call Stop on all other signals to correctly set the server state for the shutdown procedure to complete successfully
* possibly fixes: #979
2024-12-09 10:08:36 +03:00

View File

@@ -24,9 +24,11 @@ func (srv *Server) waitForSignals() {
if sig == unix.SIGTSTP {
srv.Stop()
continue
}
} else {
srv.Stop()
break
}
}
}
func (s *Scheduler) waitForSignals() {