mardi 1 octobre 2019

Laravel queue runs fast

I use Supervizor to run Laravel Queue, it runs as well. But my CPU gets high usage and my Laravel site frezes 1 minute 4-5 times in a day. I use queue database driver, and my project have 1000 task per day. But when i checking jobs table in database, tasks not collected ther, tasks runs so fast. I need to configure Supervizor to make him runs slow. How i can do this?

[program:laravel-queue-listener] command=php /home/laravel/public_html/artisan queue:work database --sleep=900 --tries=1 --timeout=30


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire