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

Update routing key according to the callback change

parent 113ff0e0
No related branches found
No related tags found
4 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!78Feat cod rmq,!66Update rcutil
......@@ -36,7 +36,7 @@ def worker(ch, method, properties, body):
def consume(username, routing_key='', callback=worker, debug=False):
if routing_key == '':
routing_key = 'confirm.' + username
routing_key = 'complete.' + username
if debug:
sleep(5)
......
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