Skip to content

Commit bf6735b

Browse files
authored
fix(webapp): concurrency override upper bound should be env not org (#2642)
1 parent dacd53b commit bf6735b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/webapp/app/v3/services/concurrencySystem.server.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,7 @@ function overrideQueueConcurrencyLimit(
121121
overriddenBy?: User
122122
) {
123123
const newConcurrencyLimit = Math.max(
124-
Math.min(
125-
concurrencyLimit,
126-
environment.maximumConcurrencyLimit,
127-
environment.organization.maximumConcurrencyLimit
128-
),
124+
Math.min(concurrencyLimit, environment.maximumConcurrencyLimit),
129125
0
130126
);
131127

0 commit comments

Comments
 (0)