Skip to content

Commit

Permalink
Add grace=0 to server stop in Python example
Browse files Browse the repository at this point in the history
Fixes grpc#4122
  • Loading branch information
soltanmm committed Nov 17, 2015
1 parent 118c0a0 commit 77ebadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/helloworld/greeter_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 77ebadc

Please sign in to comment.