Answer the question
In order to leave comments, you need to log in
How to set custom Rabbit (pika) overflow policy?
I set the maximum queue length like this:
pika_channel.queue_declare(
self.RABBIT_QUEUE_NAME,
durable=False,
arguments={"x-max-length": 500000},
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question