diff options
Diffstat (limited to 'bin/send_msg')
| -rwxr-xr-x | bin/send_msg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send_msg b/bin/send_msg index 47de45f..c3e88fa 100755 --- a/bin/send_msg +++ b/bin/send_msg | |||
| @@ -22,11 +22,11 @@ if __name__ == "__main__": | |||
| 22 | 'callable': 'work_job', | 22 | 'callable': 'work_job', |
| 23 | 'class_args': ('blurp',), | 23 | 'class_args': ('blurp',), |
| 24 | 'class_kwargs': {'kwarg1': True}, | 24 | 'class_kwargs': {'kwarg1': True}, |
| 25 | 'args': (50, ), | 25 | 'args': (10, ), |
| 26 | 'kwargs': {} | 26 | 'kwargs': {} |
| 27 | }] | 27 | }] |
| 28 | 28 | ||
| 29 | msgid = send_request(s, msg, guarantee=True, reply_requested=True, timeout=10) | 29 | msgid = send_request(s, msg, guarantee=True, reply_requested=True, timeout=10, queue='other') |
| 30 | msgid = send_request(s, msg, guarantee=True, reply_requested=True) | 30 | msgid = send_request(s, msg, guarantee=True, reply_requested=True) |
| 31 | # print 'Sent message, use msgid={} to track responses'.format(msgid) | 31 | # print 'Sent message, use msgid={} to track responses'.format(msgid) |
| 32 | # events = dict(poller.poll(500)) | 32 | # events = dict(poller.poll(500)) |