S
S
spaceatmoon2018-07-04 21:28:33
PHP
spaceatmoon, 2018-07-04 21:28:33

How to keep rabbitmq from hibernating?

I have an application that runs one consumer'y via cron every few minutes. Now there are only 4 workers. The application itself is in php.
The problem is that they work fine while they have tasks, and when they are idle, after 10 minutes they go into hibernation. The process remains hanging.
Sending new tasks to the queue, these workers still remain in hibernation.
What command should be executed or parameter set so that they do not go into hibernation and start working again?
I set up according to these two articles, maybe what else needs to be set up?
https://www.rabbitmq.com/tutorials/tutorial-one-ph...
https://www.rabbitmq.com/tutorials/tutorial-two-ph...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question