mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 23:49:37 +08:00
Exchange routing key needs to be wildcard ...
But why that wasn't a problem before is a mystery to me.
This commit is contained in:
@@ -32,7 +32,7 @@ def control_queues_from_config(config):
|
||||
"""
|
||||
hostname = socket.gethostname()
|
||||
process_name = "{server_name}@{hostname}".format(server_name=config.server_name, hostname=hostname)
|
||||
exchange_queue = Queue("control.%s" % process_name, galaxy_exchange, routing_key='control.%s' % process_name)
|
||||
exchange_queue = Queue("control.%s" % process_name, galaxy_exchange, routing_key='control.*')
|
||||
non_exchange_queue = Queue("control.%s" % process_name, routing_key='control.%s' % process_name)
|
||||
return exchange_queue, non_exchange_queue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user