Skip to content
Snippets Groups Projects
Commit c99e1303 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Set default callback for rc_util.consume

parent 49dfe554
No related branches found
No related tags found
1 merge request!18Redesign RabbitMQ
......@@ -30,7 +30,7 @@ def worker(ch, method, properties, body):
rc_rmq.stop_consume()
rc_rmq.delete_queue()
def consume(username, callback, debug=False):
def consume(username, callback=worker, debug=False):
if debug:
sleep(5)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment