Skip to content

Commit df6ceb6

Browse files
committed
fix(envvar): remove dead env var
1 parent 2ede12a commit df6ceb6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

apps/sim/lib/core/bullmq/connection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { ConnectionOptions } from 'bullmq'
2-
import { env, isTruthy } from '@/lib/core/config/env'
2+
import { env } from '@/lib/core/config/env'
33

44
export function isBullMQEnabled(): boolean {
5-
return isTruthy(env.CONCURRENCY_CONTROL_ENABLED) && Boolean(env.REDIS_URL)
5+
return Boolean(env.REDIS_URL)
66
}
77

88
export function getBullMQConnectionOptions(): ConnectionOptions {

apps/sim/lib/core/config/env.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ export const env = createEnv({
187187
FREE_PLAN_LOG_RETENTION_DAYS: z.string().optional(), // Log retention days for free plan users
188188

189189
// Admission & Burst Protection
190-
CONCURRENCY_CONTROL_ENABLED: z.string().optional().default('false'), // Set to 'true' to enable BullMQ-based concurrency control (default: inline execution)
191190
ADMISSION_GATE_MAX_INFLIGHT: z.string().optional().default('500'), // Max concurrent in-flight execution requests per pod
192191
DISPATCH_MAX_QUEUE_PER_WORKSPACE: z.string().optional().default('1000'), // Max queued dispatch jobs per workspace
193192
DISPATCH_MAX_QUEUE_GLOBAL: z.string().optional().default('50000'), // Max queued dispatch jobs globally

0 commit comments

Comments
 (0)