Skip to content
Advertisement

Queued Jobs are still processed even without Supervisor running

This seems weird. I killed all existing processes related to supervisord on my linux server (aws ec2) but the queued jobs are still being processed/worked on.

I checked the processes through ps -fe and I don’t find any process of supervisord running.

Anyone who can tell me what’s going on? Thanks in advance.

Advertisement

Answer

So to summarize this question up, for supervisor to be in charge of queuing make sure to set queue driver to QUEUE_DRIVER=database or QUEUE_DRIVER=redis in your .env file.

If queue driver is set to QUEUE_DRIVER=sync then all the jobs will be processed right away one by one and supervisor is not important at all, it doesn’t even have to be installed.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement