Skip to content

Commit d67d3af

Browse files
chore(trigger): use large workflow cell machines in dev
1 parent ec26ca8 commit d67d3af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/sim/background/workflow-column-execution.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
toBillingContext,
1515
} from '@/lib/billing/core/billing-attribution'
1616
import { checkAndBillPayerOverageThreshold } from '@/lib/billing/threshold-billing'
17+
import { env } from '@/lib/core/config/env'
1718
import { isRetryableInfrastructureError } from '@/lib/core/errors/retryable-infrastructure'
1819
import { createTimeoutAbortController } from '@/lib/core/execution-limits'
1920
import { RateLimiter } from '@/lib/core/rate-limiter/rate-limiter'
@@ -850,7 +851,7 @@ async function runWorkflowAndWriteTerminal(
850851

851852
export const workflowGroupCellTask = task({
852853
id: 'workflow-group-cell',
853-
machine: 'medium-1x',
854+
machine: env.APPCONFIG_ENVIRONMENT === 'dev' ? 'large-1x' : 'medium-1x',
854855
retry: { maxAttempts: 1 },
855856
// Combined with `concurrencyKey: tableId`, caps each table's sub-queue of
856857
// in-flight cell jobs while letting different tables run in parallel. The

0 commit comments

Comments
 (0)