Removed dup signal (#14922)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4c33b7a35d
Коммит
48ed86ddc7
@@ -92,7 +92,7 @@ func runServer(configStore config.Store, disableConfigWatch bool, usedPlatform b
|
|||||||
|
|
||||||
// wait for kill signal before attempting to gracefully shutdown
|
// wait for kill signal before attempting to gracefully shutdown
|
||||||
// the running service
|
// the running service
|
||||||
signal.Notify(interruptChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
|
signal.Notify(interruptChan, syscall.SIGINT, syscall.SIGTERM)
|
||||||
<-interruptChan
|
<-interruptChan
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user