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

Acknowledge message after job's done

parent 0913a424
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!21Feat git commit agent
......@@ -60,6 +60,9 @@ def git_commit(ch, method, properties, body):
}
})
# Acknowledge message
ch.basic_ack(delivery_tag=method.delivery_tag)
print("Start listening to queue: {}".format(task))
rc_rmq.start_consume({
......
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