diff --git a/apps/webapp/app/v3/services/createBackgroundWorker.server.ts b/apps/webapp/app/v3/services/createBackgroundWorker.server.ts index cc54952489..34acd6e332 100644 --- a/apps/webapp/app/v3/services/createBackgroundWorker.server.ts +++ b/apps/webapp/app/v3/services/createBackgroundWorker.server.ts @@ -208,6 +208,15 @@ export async function createBackgroundTasks( taskQueue.concurrencyLimit ); } else { + logger.debug("CreateBackgroundWorkerService: removing concurrency limit", { + workerId: worker.id, + taskQueue, + orgId: environment.organizationId, + projectId: environment.projectId, + environmentId: environment.id, + concurrencyLimit, + taskidentifier: task.id, + }); await marqs?.removeQueueConcurrencyLimits(environment, taskQueue.name); } } catch (error) { diff --git a/apps/webapp/app/v3/services/triggerTask.server.ts b/apps/webapp/app/v3/services/triggerTask.server.ts index 5792360594..877c52137c 100644 --- a/apps/webapp/app/v3/services/triggerTask.server.ts +++ b/apps/webapp/app/v3/services/triggerTask.server.ts @@ -474,6 +474,16 @@ export class TriggerTaskService extends BaseService { taskQueue.concurrencyLimit ); } else { + logger.debug("TriggerTaskService: removing concurrency limit", { + runId: taskRun.id, + friendlyId: taskRun.friendlyId, + taskQueue, + orgId: environment.organizationId, + projectId: environment.projectId, + existingConcurrencyLimit, + concurrencyLimit, + queueOptions: body.options?.queue, + }); await marqs?.removeQueueConcurrencyLimits(environment, taskQueue.name); } }