Add config for horizon workers
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2023-08-07 19:53:48 +02:00
parent 5e259e9455
commit 0f88427dd5
1 changed files with 4 additions and 4 deletions

View File

@ -176,14 +176,14 @@ return [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'simple',
'processes' => 10,
'processes' => env('WORKERS', 10),
'tries' => 1,
],
'supervisor-long-running' => [
'connection' => 'redis',
'queue' => ['long'],
'balance' => 'simple',
'processes' => 10,
'processes' => env('WORKERS', 10),
'tries' => 1,
'timeout' => 43200, // 12 hours
],
@ -201,14 +201,14 @@ return [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'simple',
'processes' => 10,
'processes' => env('WORKERS', 10),
'tries' => 1,
],
'supervisor-long-running' => [
'connection' => 'redis',
'queue' => ['long'],
'balance' => 'simple',
'processes' => 10,
'processes' => env('WORKERS', 10),
'tries' => 1,
'timeout' => 43200, // 12 hours
],