This commit is contained in:
bn4t 2020-05-05 15:20:00 +00:00 committed by GitHub
parent 05464a8f6b
commit 235898e642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1763,7 +1763,7 @@ func main() {
// kill -9 is syscall.SIGKILL but can't be catch, so don't need add it
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
<-quit
log.Println("Shuting down server...")
log.Println("Shutting down server...")
// The context is used to inform the server it has 5 seconds to finish
// the request it is currently handling