File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
apps/webapp/app/v3/services Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ export async function createBackgroundTasks(
208
208
taskQueue . concurrencyLimit
209
209
) ;
210
210
} else {
211
+ logger . debug ( "CreateBackgroundWorkerService: removing concurrency limit" , {
212
+ workerId : worker . id ,
213
+ taskQueue,
214
+ orgId : environment . organizationId ,
215
+ projectId : environment . projectId ,
216
+ environmentId : environment . id ,
217
+ concurrencyLimit,
218
+ taskidentifier : task . id ,
219
+ } ) ;
211
220
await marqs ?. removeQueueConcurrencyLimits ( environment , taskQueue . name ) ;
212
221
}
213
222
} catch ( error ) {
Original file line number Diff line number Diff line change @@ -474,6 +474,16 @@ export class TriggerTaskService extends BaseService {
474
474
taskQueue . concurrencyLimit
475
475
) ;
476
476
} else {
477
+ logger . debug ( "TriggerTaskService: removing concurrency limit" , {
478
+ runId : taskRun . id ,
479
+ friendlyId : taskRun . friendlyId ,
480
+ taskQueue,
481
+ orgId : environment . organizationId ,
482
+ projectId : environment . projectId ,
483
+ existingConcurrencyLimit,
484
+ concurrencyLimit,
485
+ queueOptions : body . options ?. queue ,
486
+ } ) ;
477
487
await marqs ?. removeQueueConcurrencyLimits ( environment , taskQueue . name ) ;
478
488
}
479
489
}
You can’t perform that action at this time.
0 commit comments