do not use exclusive queue
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-10-24 00:58:28 +02:00
parent b20fbea277
commit 90c87038b6
1 changed files with 1 additions and 1 deletions

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)