aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2017-11-22 09:42:16 -0800
committerGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2017-11-22 09:46:38 -0800
commit36f60a9cc15ef08c528396bc2c66d7d03a9b3ce7 (patch)
treeb1e084e31a9aede4c9d482b6619ab5b3665cfa93 /examples/python
parent0c000f6f6f385aa39fa882cd3940d14622a1f2f2 (diff)
Kill off unnecessary sleep in route_guide example
Diffstat (limited to 'examples/python')
-rw-r--r--examples/python/route_guide/route_guide_client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/python/route_guide/route_guide_client.py b/examples/python/route_guide/route_guide_client.py
index 653f0d02c6..a0e32fb6f5 100644
--- a/examples/python/route_guide/route_guide_client.py
+++ b/examples/python/route_guide/route_guide_client.py
@@ -17,7 +17,6 @@
from __future__ import print_function
import random
-import time
import grpc
@@ -66,7 +65,6 @@ def generate_route(feature_list):
random_feature = feature_list[random.randint(0, len(feature_list) - 1)]
print("Visiting point %s" % random_feature.location)
yield random_feature.location
- time.sleep(random.uniform(0.5, 1.5))
def guide_record_route(stub):
@@ -91,7 +89,6 @@ def generate_messages():
for msg in messages:
print("Sending %s at %s" % (msg.message, msg.location))
yield msg
- time.sleep(random.uniform(0.5, 1.0))
def guide_route_chat(stub):