diff --git a/cookbook/graceful-shutdown/server.go b/cookbook/graceful-shutdown/server.go index 45ecef1a..69240d74 100644 --- a/cookbook/graceful-shutdown/server.go +++ b/cookbook/graceful-shutdown/server.go @@ -29,7 +29,7 @@ func main() { } }() - // 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. <-ctx.Done() ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel()