summaryrefslogtreecommitdiff
path: root/tools/simulator.py
diff options
context:
space:
mode:
authorIlya Shakhat <ishakhat@mirantis.com>2016-03-02 18:28:11 +0300
committerIlya Shakhat <ishakhat@mirantis.com>2016-03-02 18:28:11 +0300
commitd2496c34d988306b7762290ed2697250908a9e21 (patch)
tree94e90d2465142a2c10b4f8c94d14cc19f0c57bc1 /tools/simulator.py
parent363c591ffb339dd5ea5f935a4c9649b64ce87183 (diff)
downloadoslo-messaging-d2496c34d988306b7762290ed2697250908a9e21.tar.gz
Simulator: fix batch-notify-server command
This patch fixes the name of parameters used to construct batch notification listener Change-Id: I8eae9494943b2592c9cf4b92fccca93eab3b8e93
Diffstat (limited to 'tools/simulator.py')
-rwxr-xr-xtools/simulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/simulator.py b/tools/simulator.py
index 1729b3f..72679b7 100755
--- a/tools/simulator.py
+++ b/tools/simulator.py
@@ -158,7 +158,7 @@ def batch_notify_server(transport, topic, show_stats, duration):
server = notify.get_batch_notification_listener(
transport, [target],
endpoints, executor='eventlet',
- batch_size=1000, batch_time=5)
+ batch_size=1000, batch_timeout=5)
run_server(server, duration=duration)