mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
refactor(job): use camelCase for queue enum values
This commit is contained in:
2 files changed
+15
-15
No files matched your search
@@ -8,11 +8,11 @@ enum ProcessingQueue: string
|
||||
{
|
||||
case Default = 'default';
|
||||
case High = 'high';
|
||||
case StandardDeployment = 'standard-deployment';
|
||||
case ProductionDeployment = 'production-deployment';
|
||||
case StandardDeployment = 'standardDeployment';
|
||||
case ProductionDeployment = 'productionDeployment';
|
||||
|
||||
case WorkerDefault = 'worker-default';
|
||||
case WorkerHigh = 'worker-high';
|
||||
case WorkerStandardDeployment = 'worker-standard-deployment';
|
||||
case WorkerProductionDeployment = 'worker-production-deployment';
|
||||
case WorkerDefault = 'workerDefault';
|
||||
case WorkerHigh = 'workerHigh';
|
||||
case WorkerStandardDeployment = 'workerStandardDeployment';
|
||||
case WorkerProductionDeployment = 'workerProductionDeployment';
|
||||
}
|
||||
+9
-9
@@ -87,12 +87,12 @@ return [
|
||||
'waits' => [
|
||||
'redis:high' => 10,
|
||||
'redis:default' => 20,
|
||||
'redis:production-deployment' => 10,
|
||||
'redis:standard-deployment' => 20,
|
||||
'redis:worker-high' => 10,
|
||||
'redis:worker-default' => 20,
|
||||
'redis:worker-production-deployment' => 10,
|
||||
'redis:worker-standard-deployment' => 20,
|
||||
'redis:productionDeployment' => 10,
|
||||
'redis:standardDeployment' => 20,
|
||||
'redis:workerHigh' => 10,
|
||||
'redis:workerDefault' => 20,
|
||||
'redis:workerProductionDeployment' => 10,
|
||||
'redis:workerStandardDeployment' => 20,
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -208,7 +208,7 @@ return [
|
||||
],
|
||||
'deployments' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['production-deployment', 'standard-deployment'],
|
||||
'queue' => ['productionDeployment', 'standardDeployment'],
|
||||
'balance' => false,
|
||||
'autoScalingStrategy' => 'time',
|
||||
'maxTime' => 3600,
|
||||
@@ -223,7 +223,7 @@ return [
|
||||
...((bool) env('WORKER_SERVER', false) ? [
|
||||
'worker-jobs' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['worker-high', 'worker-default'],
|
||||
'queue' => ['workerHigh', 'workerDefault'],
|
||||
'balance' => false,
|
||||
'autoScalingStrategy' => 'time',
|
||||
'maxTime' => 3600,
|
||||
@@ -236,7 +236,7 @@ return [
|
||||
],
|
||||
'worker-deployments' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['worker-production-deployment', 'worker-standard-deployment'],
|
||||
'queue' => ['workerProductionDeployment', 'workerStandardDeployment'],
|
||||
'balance' => false,
|
||||
'autoScalingStrategy' => 'time',
|
||||
'maxTime' => 3600,
|
||||
|
||||
Reference in new issue
Block a user