Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

SNaRe's avatar
Level 7

Php Artisan Work Timeout and Setting Timeout in Job

Hi, I set time out when running workers like php artisan queue:work sqs --sleep=60 --timeout=120

and if a job needs more than 120 I set timeout in job like: public $timeout=300;

My question is which one will override? Does my job has timeout of 300 or 120 seconds?

Thanks in advance.

0 likes
0 replies

Please or to participate in this conversation.