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',
|
'connection' => 'redis',
|
||||||
'queue' => ['default'],
|
'queue' => ['default'],
|
||||||
'balance' => 'simple',
|
'balance' => 'simple',
|
||||||
'processes' => 10,
|
'processes' => env('WORKERS', 10),
|
||||||
'tries' => 1,
|
'tries' => 1,
|
||||||
],
|
],
|
||||||
'supervisor-long-running' => [
|
'supervisor-long-running' => [
|
||||||
'connection' => 'redis',
|
'connection' => 'redis',
|
||||||
'queue' => ['long'],
|
'queue' => ['long'],
|
||||||
'balance' => 'simple',
|
'balance' => 'simple',
|
||||||
'processes' => 10,
|
'processes' => env('WORKERS', 10),
|
||||||
'tries' => 1,
|
'tries' => 1,
|
||||||
'timeout' => 43200, // 12 hours
|
'timeout' => 43200, // 12 hours
|
||||||
],
|
],
|
||||||
|
@ -201,14 +201,14 @@ return [
|
||||||
'connection' => 'redis',
|
'connection' => 'redis',
|
||||||
'queue' => ['default'],
|
'queue' => ['default'],
|
||||||
'balance' => 'simple',
|
'balance' => 'simple',
|
||||||
'processes' => 10,
|
'processes' => env('WORKERS', 10),
|
||||||
'tries' => 1,
|
'tries' => 1,
|
||||||
],
|
],
|
||||||
'supervisor-long-running' => [
|
'supervisor-long-running' => [
|
||||||
'connection' => 'redis',
|
'connection' => 'redis',
|
||||||
'queue' => ['long'],
|
'queue' => ['long'],
|
||||||
'balance' => 'simple',
|
'balance' => 'simple',
|
||||||
'processes' => 10,
|
'processes' => env('WORKERS', 10),
|
||||||
'tries' => 1,
|
'tries' => 1,
|
||||||
'timeout' => 43200, // 12 hours
|
'timeout' => 43200, // 12 hours
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue