do not use exclusive queue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-24 00:58:28 +02:00
parent b20fbea277
commit 90c87038b6

View File

@ -58,7 +58,7 @@ def main():
channel = connection.channel()
channel.exchange_declare(exchange=os.environ['PIKA_INPUT_EXCHANGE'], exchange_type='direct')
queue_declare_result = channel.queue_declare(queue='cnnqueue', exclusive=True)
queue_declare_result = channel.queue_declare(queue='cnnqueue', exclusive=False)
queue_name = queue_declare_result.method.queue
channel.queue_bind(exchange=os.environ['PIKA_INPUT_EXCHANGE'],routing_key='feature', queue=queue_name)