From e2e29cefd7958c81465769e7bfc8e96f23497212 Mon Sep 17 00:00:00 2001 From: Waleed Date: Thu, 2 Apr 2026 12:34:38 -0700 Subject: [PATCH 1/2] fix(blog): use landing theme variables in MDX components (#3900) --- apps/sim/lib/blog/mdx.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/sim/lib/blog/mdx.tsx b/apps/sim/lib/blog/mdx.tsx index bc085d0359e..83835579009 100644 --- a/apps/sim/lib/blog/mdx.tsx +++ b/apps/sim/lib/blog/mdx.tsx @@ -44,7 +44,7 @@ export const mdxComponents: MDXRemoteProps['components'] = {

), ul: (props: any) => ( @@ -52,7 +52,7 @@ export const mdxComponents: MDXRemoteProps['components'] = { {...props} style={{ fontSize: '19px', marginBottom: '1rem', fontWeight: '400' }} className={clsx( - 'list-outside list-disc pl-6 text-[var(--text-subtle)] leading-relaxed', + 'list-outside list-disc pl-6 text-[var(--landing-text-muted)] leading-relaxed', props.className )} /> @@ -62,7 +62,7 @@ export const mdxComponents: MDXRemoteProps['components'] = { {...props} style={{ fontSize: '19px', marginBottom: '1rem', fontWeight: '400' }} className={clsx( - 'list-outside list-decimal pl-6 text-[var(--text-subtle)] leading-relaxed', + 'list-outside list-decimal pl-6 text-[var(--landing-text-muted)] leading-relaxed', props.className )} /> @@ -140,7 +140,7 @@ export const mdxComponents: MDXRemoteProps['components'] = { Date: Thu, 2 Apr 2026 13:07:50 -0700 Subject: [PATCH 2/2] fix(bullmq): restore CONCURRENCY_CONTROL_ENABLED flag guard (#3903) --- apps/sim/lib/core/bullmq/connection.ts | 4 ++-- apps/sim/lib/core/config/env.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/sim/lib/core/bullmq/connection.ts b/apps/sim/lib/core/bullmq/connection.ts index 80def9d5cb5..e888f5772a7 100644 --- a/apps/sim/lib/core/bullmq/connection.ts +++ b/apps/sim/lib/core/bullmq/connection.ts @@ -1,8 +1,8 @@ import type { ConnectionOptions } from 'bullmq' -import { env } from '@/lib/core/config/env' +import { env, isTruthy } from '@/lib/core/config/env' export function isBullMQEnabled(): boolean { - return Boolean(env.REDIS_URL) + return isTruthy(env.CONCURRENCY_CONTROL_ENABLED) && Boolean(env.REDIS_URL) } export function getBullMQConnectionOptions(): ConnectionOptions { diff --git a/apps/sim/lib/core/config/env.ts b/apps/sim/lib/core/config/env.ts index 9db115984e7..84ffe503d4e 100644 --- a/apps/sim/lib/core/config/env.ts +++ b/apps/sim/lib/core/config/env.ts @@ -187,6 +187,7 @@ export const env = createEnv({ FREE_PLAN_LOG_RETENTION_DAYS: z.string().optional(), // Log retention days for free plan users // Admission & Burst Protection + CONCURRENCY_CONTROL_ENABLED: z.string().optional().default('false'), // Set to 'true' to enable BullMQ-based concurrency control (default: inline execution) ADMISSION_GATE_MAX_INFLIGHT: z.string().optional().default('500'), // Max concurrent in-flight execution requests per pod DISPATCH_MAX_QUEUE_PER_WORKSPACE: z.string().optional().default('1000'), // Max queued dispatch jobs per workspace DISPATCH_MAX_QUEUE_GLOBAL: z.string().optional().default('50000'), // Max queued dispatch jobs globally