mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-26 16:25:26 +02:00
feat: make concurrent builds an OSS feature without license gating
This commit is contained in:
@@ -46,7 +46,6 @@ import {
|
||||
redis,
|
||||
server,
|
||||
} from "@/server/db/schema";
|
||||
import { assertBuildsConcurrencyAllowed } from "@/server/queues/concurrency";
|
||||
import { applyDockerCleanupSchedule } from "@/server/utils/docker-cleanup";
|
||||
|
||||
export const serverRouter = createTRPCRouter({
|
||||
@@ -491,10 +490,6 @@ export const serverRouter = createTRPCRouter({
|
||||
message: "You are not authorized to update this server",
|
||||
});
|
||||
}
|
||||
await assertBuildsConcurrencyAllowed(
|
||||
input.buildsConcurrency,
|
||||
ctx.session.activeOrganizationId,
|
||||
);
|
||||
return await updateServerById(input.serverId, {
|
||||
buildsConcurrency: input.buildsConcurrency,
|
||||
});
|
||||
|
||||
@@ -71,7 +71,6 @@ import {
|
||||
projects,
|
||||
server,
|
||||
} from "@/server/db/schema";
|
||||
import { assertBuildsConcurrencyAllowed } from "@/server/queues/concurrency";
|
||||
import { cleanAllDeploymentQueue } from "@/server/queues/queueSetup";
|
||||
import { removeJob, schedule } from "@/server/utils/backup";
|
||||
import packageInfo from "../../../package.json";
|
||||
@@ -480,11 +479,6 @@ export const settingsRouter = createTRPCRouter({
|
||||
});
|
||||
}
|
||||
|
||||
await assertBuildsConcurrencyAllowed(
|
||||
input.buildsConcurrency,
|
||||
ctx.session.activeOrganizationId,
|
||||
);
|
||||
|
||||
await updateWebServerSettings({
|
||||
buildsConcurrency: input.buildsConcurrency,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user