Skip to content

Commit 4591c1b

Browse files
improvement(scheduler): raise per-tick claim budget to 200
Bumps MAX_CRON_CLAIMS 100 -> 200 (workflow/job split 100/100). Pairs with the fire-and-forget cron Lambda change so per-tick processing time is no longer bounded by the Lambda's 50s HTTP timeout.
1 parent 99f40df commit 4591c1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/sim/app/api/schedules/execute

apps/sim/app/api/schedules/execute/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export const dynamic = 'force-dynamic'
2121
export const maxDuration = 3600
2222

2323
const logger = createLogger('ScheduledExecuteAPI')
24-
const MAX_CRON_CLAIMS = 100
25-
const RESERVED_WORKFLOW_CLAIMS = 50
24+
const MAX_CRON_CLAIMS = 200
25+
const RESERVED_WORKFLOW_CLAIMS = 100
2626
const RESERVED_JOB_CLAIMS = MAX_CRON_CLAIMS - RESERVED_WORKFLOW_CLAIMS
2727
const STALE_SCHEDULE_CLAIM_MS = getMaxExecutionTimeout()
2828

0 commit comments

Comments
 (0)