Beanstalkd and Multiple Laravel Websites

If you have multiple websites on the same server using Beanstalkd for queues you can set unique queue tubes for each site to prevent jobs on the queue being triggered by the other sites.

In Laravel, edit the queue config file and change default to something unique like the website name.

'beanstalkd' => [
            'driver' => 'beanstalkd',
            'host'   => 'localhost',
            'queue'  => 'default',    
            'ttr'    => 60,

Leave a Reply

Your email address will not be published. Required fields are marked *