aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-11-16 16:48:44 -0800
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-11-16 16:48:44 -0800
commit77ebadc6624c8adc589068261361e1b29d2f060c (patch)
tree2f6d09cba748d704a9a6283a0f8a2eee7ffd8f57
parent118c0a0eec5cedfb4d610483c3e26dacf71bcd4a (diff)
Add grace=0 to server stop in Python example
Fixes #4122
-rw-r--r--examples/python/helloworld/greeter_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/helloworld/greeter_server.py b/examples/python/helloworld/greeter_server.py
index 1514d8f270..2cde5add43 100644
--- a/examples/python/helloworld/greeter_server.py
+++ b/examples/python/helloworld/greeter_server.py
@@ -50,7 +50,7 @@ def serve():
while True:
time.sleep(_ONE_DAY_IN_SECONDS)
except KeyboardInterrupt:
- server.stop()
+ server.stop(0)
if __name__ == '__main__':
serve()