This commit is contained in:
parent
5358f0a43f
commit
b718ef12d3
@ -99,7 +99,7 @@ def main():
|
||||
queue_declare_result = channel.queue_declare(queue=str(uuid.uuid4()), exclusive=False)
|
||||
queue_name = queue_declare_result.method.queue
|
||||
|
||||
channel.queue_bind(exchange=Config.PIKA_SAMPLE_CACHE_EXCHANGE, queue=queue_name)
|
||||
channel.queue_bind(exchange=Config.PIKA_SAMPLE_CACHE_EXCHANGE, routing_key='cache', queue=queue_name)
|
||||
|
||||
channel.basic_qos(prefetch_count=1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user