We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c4c20 commit d9db81dCopy full SHA for d9db81d
cookbook/graceful-shutdown/server.go
@@ -29,7 +29,7 @@ func main() {
29
}
30
}()
31
32
- // Wait for interrupt signal to gracefully shutdown the server with a timeout of 10 seconds.
+ // Wait for interrupt signal to gracefully shut down the server with a timeout of 10 seconds.
33
<-ctx.Done()
34
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
35
defer cancel()
0 commit comments