From c2cffe9795b09754a034031565890ed2d82e6550 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Wed, 29 Oct 2025 19:10:47 +0000 Subject: [PATCH] fix(webapp): concurrency override upper bound should be env not org --- apps/webapp/app/v3/services/concurrencySystem.server.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/webapp/app/v3/services/concurrencySystem.server.ts b/apps/webapp/app/v3/services/concurrencySystem.server.ts index 8ef33e4792..f151e98515 100644 --- a/apps/webapp/app/v3/services/concurrencySystem.server.ts +++ b/apps/webapp/app/v3/services/concurrencySystem.server.ts @@ -121,11 +121,7 @@ function overrideQueueConcurrencyLimit( overriddenBy?: User ) { const newConcurrencyLimit = Math.max( - Math.min( - concurrencyLimit, - environment.maximumConcurrencyLimit, - environment.organization.maximumConcurrencyLimit - ), + Math.min(concurrencyLimit, environment.maximumConcurrencyLimit), 0 );