Skip to content
Snippets Groups Projects
Commit 576ebf1b authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Make ssh_access agent listen only on ssh.* routing key

parent 5c1c1956
No related branches found
No related tags found
2 merge requests!147Merge previous default branch feat-cod-rmq into main,!119Feat account management
...@@ -58,8 +58,6 @@ def ssh_access(ch, method, properties, body): ...@@ -58,8 +58,6 @@ def ssh_access(ch, method, properties, body):
logger.info(f"Start listening to queue: {task}") logger.info(f"Start listening to queue: {task}")
rc_rmq.bind_queue(queue=task, routing_key='lock.*', durable=True)
rc_rmq.bind_queue(queue=task, routing_key='unlock.*', durable=True)
rc_rmq.bind_queue(queue=task, routing_key='ssh.*', durable=True) rc_rmq.bind_queue(queue=task, routing_key='ssh.*', durable=True)
rc_rmq.start_consume( 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