From ad3f591af3bf57b3ffde72d384a1019f7acfad80 Mon Sep 17 00:00:00 2001 From: Xiao Date: Tue, 3 May 2022 13:51:44 -0400 Subject: [PATCH] [Aio] Fix typo in async graceful shutdown example (#29521) Background: https://github.com/grpc/grpc/pull/26622 --- .../helloworld/async_greeter_server_with_graceful_shutdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/helloworld/async_greeter_server_with_graceful_shutdown.py b/examples/python/helloworld/async_greeter_server_with_graceful_shutdown.py index ebc03f8d9a0..737f42b7a65 100644 --- a/examples/python/helloworld/async_greeter_server_with_graceful_shutdown.py +++ b/examples/python/helloworld/async_greeter_server_with_graceful_shutdown.py @@ -45,7 +45,7 @@ async def serve() -> None: async def server_graceful_shutdown(): logging.info("Starting graceful shutdown...") - # Shuts down the server with 0 seconds of grace period. During the + # Shuts down the server with 5 seconds of grace period. During the # grace period, the server won't accept new connections and allow # existing RPCs to continue within the grace period. await server.stop(5)