Add config for horizon workers
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5e259e9455
commit
0f88427dd5
|
@ -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
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue