refactor(job): use camelCase for queue enum values

This commit is contained in:
peaklabs-dev committed 2026-03-27 19:36:19 +01:00
1 parent c7494edf35
commit 2811a88142
2 files changed
+15 -15

No files matched your search

+6 -6
View File
@@ -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
View File
@@ -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,