avoid blocking USR1 from slave (#32)

master
Stephen Lee 2019-04-27 11:48:52 +08:00 committed by Jaime Pillora
parent 9891188db5
commit ce90558466
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func (mp *master) setupSignalling() {
func (mp *master) handleSignal(s os.Signal) { func (mp *master) handleSignal(s os.Signal) {
if s == mp.RestartSignal { if s == mp.RestartSignal {
//user initiated manual restart //user initiated manual restart
mp.triggerRestart() go mp.triggerRestart()
} else if s.String() == "child exited" { } else if s.String() == "child exited" {
// will occur on every restart, ignore it // will occur on every restart, ignore it
} else } else