aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/route_guide/route_guide_client.py
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-11-27 10:17:44 -0800
committerGravatar Mark D. Roth <roth@google.com>2017-11-27 10:17:44 -0800
commit5491eb7c5b0c01418b6bb28e2e704b7854962708 (patch)
tree2cde234dd2cd96348a6f67a77365befb9c705cdc /examples/python/route_guide/route_guide_client.py
parentdc8be882f7489d38c9fe1ea61cf70a349b4a9357 (diff)
parentde93112a3f70afa39d3e9aa87da165f9f737fdef (diff)
Merge remote-tracking branch 'upstream/master' into server_connection_timeout
Diffstat (limited to 'examples/python/route_guide/route_guide_client.py')
-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):