We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0974c1c commit f6c17e3Copy full SHA for f6c17e3
apps/webapp/app/presenters/v3/ManageConcurrencyPresenter.server.ts
@@ -83,10 +83,13 @@ export class ManageConcurrencyPresenter extends BasePresenter {
83
: 0;
84
if (!limit) continue;
85
86
- if (environment.maximumConcurrencyLimit > limit) {
+ // If it's not DEV and they've increased, track that
87
+ // You can't spend money to increase DEV concurrency
88
+ if (environment.type !== "DEVELOPMENT" && environment.maximumConcurrencyLimit > limit) {
89
extraAllocatedConcurrency += environment.maximumConcurrencyLimit - limit;
90
}
91
92
+ // We only want to show this project's environments
93
if (environment.projectId === projectId) {
94
if (environment.type === "DEVELOPMENT" && environment.orgMember?.userId !== userId) {
95
continue;
0 commit comments