add config file
This commit is contained in:
@@ -6,4 +6,9 @@ return [
|
||||
'password' => env('FMS_VEHICLE_ACTIVITY_PASSWORD'),
|
||||
'username' => env('FMS_VEHICLE_ACTIVITY_USERNAME'),
|
||||
],
|
||||
'Error_Rate' => [
|
||||
'url' => env('FMS_ERROR_RATE_URL'),
|
||||
'password' => env('FMS_ERROR_RATE_PASSWORD'),
|
||||
'username' => env('FMS_ERROR_RATE_USERNAME'),
|
||||
],
|
||||
];
|
||||
@@ -182,7 +182,21 @@ return [
|
||||
'defaults' => [
|
||||
'supervisor-1' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['default'],
|
||||
'queue' => ['harim'],
|
||||
'balance' => 'auto',
|
||||
'autoScalingStrategy' => 'time',
|
||||
'maxProcesses' => 1,
|
||||
'maxTime' => 0,
|
||||
'maxJobs' => 0,
|
||||
'memory' => 128,
|
||||
'tries' => 2,
|
||||
'timeout' => 60,
|
||||
'nice' => 0,
|
||||
'backoff' => 10,
|
||||
],
|
||||
'supervisor-2' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['fms'],
|
||||
'balance' => 'auto',
|
||||
'autoScalingStrategy' => 'time',
|
||||
'maxProcesses' => 1,
|
||||
@@ -203,12 +217,20 @@ return [
|
||||
'balanceMaxShift' => 1,
|
||||
'balanceCooldown' => 3,
|
||||
],
|
||||
'supervisor-2' => [
|
||||
'maxProcesses' => 10,
|
||||
'balanceMaxShift' => 1,
|
||||
'balanceCooldown' => 3,
|
||||
],
|
||||
],
|
||||
|
||||
'local' => [
|
||||
'supervisor-1' => [
|
||||
'maxProcesses' => 3,
|
||||
],
|
||||
'supervisor-2' => [
|
||||
'maxProcesses' => 3,
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
@@ -129,6 +129,12 @@ return [
|
||||
'path' => storage_path('logs/nikarayan.log'),
|
||||
'level' => 'info',
|
||||
],
|
||||
|
||||
'fms_error_rate' => [
|
||||
'driver' => 'single',
|
||||
'path' => storage_path('logs/fms/error_rate_service.log'),
|
||||
'level' => 'info',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user