several one-line panic, race, and logic fixes (#7766)
Этот коммит содержится в:
@@ -144,7 +144,7 @@ func runServer(configFileLocation string) {
|
||||
|
||||
// wait for kill signal before attempting to gracefully shutdown
|
||||
// the running service
|
||||
c := make(chan os.Signal)
|
||||
c := make(chan os.Signal, 1)
|
||||
signal.Notify(c, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
|
||||
<-c
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user