mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 13:21:58 +08:00
Change Server API
* Rename ServerStatus to ServerState internally * Rename terminate to shutdown internally * Update Scheduler API to match Server API
This commit is contained in:
@@ -22,7 +22,7 @@ func (srv *Server) waitForSignals() {
|
||||
for {
|
||||
sig := <-sigs
|
||||
if sig == unix.SIGTSTP {
|
||||
srv.Quiet()
|
||||
srv.Stop()
|
||||
continue
|
||||
}
|
||||
break
|
||||
|
Reference in New Issue
Block a user