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

Solve routing_key referenced before assignment

parent 8a7f1f0b
No related branches found
No related tags found
8 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!44WIP: Update Feat task manager to match new messaging structure,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!34WIP: Update task manager agent,!25Feature task manager
......@@ -43,6 +43,7 @@ def task_manager(ch, method, properties, body):
username = method.routing_key.split('.')[1]
task_name = msg['task']
done = success = msg['success']
routing_key = ""
if username not in tracking:
current = tracking[username] = record.copy()
......
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