AlCo2's avatar
Level 1

does $tries inside a job override the setting in horizon?

I have set 'tries' => 3 in horizon setting for a test queue, and I then I have a job that gonna be running in this queue, with public $tries = 6; what's gonna happen in production env?

0 likes
1 reply
Niush's avatar

$tries from Job Class will take precedence. So, it will try for 6 times.

Same goes for $timeout as well.

1 like

Please or to participate in this conversation.