Skip to content

Commit c227170

Browse files
committed
fix(webapp): combined override error messages use the public name
1 parent 42bbf68 commit c227170

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,14 @@ function overrideQueueTotalConcurrencyLimit(
359359
if (!Number.isFinite(totalConcurrencyLimit) || totalConcurrencyLimit < 0) {
360360
return errAsync({
361361
type: "invalid_override" as const,
362-
message: "Total concurrency limit must be a non-negative number",
362+
message: "Combined concurrency limit must be a non-negative number",
363363
});
364364
}
365365

366366
if (totalConcurrencyLimit > maximum) {
367367
return errAsync({
368368
type: "concurrency_limit_exceeds_maximum" as const,
369-
message: `Total concurrency limit (${totalConcurrencyLimit}) cannot exceed the environment limit (${maximum})`,
369+
message: `Combined concurrency limit (${totalConcurrencyLimit}) cannot exceed the environment limit (${maximum})`,
370370
});
371371
}
372372

0 commit comments

Comments
 (0)