MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/cron/cleanup-stale-executions/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { asyncJobs, db } from '@sim/db'
2import { tableJobs, workflowExecutionLogs } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { toError } from '@sim/utils/errors'

Callers

nothing calls this directly

Calls 12

createLoggerFunction · 0.90
getMaxExecutionTimeoutFunction · 0.90
withRouteHandlerFunction · 0.90
verifyCronAuthFunction · 0.90
toErrorFunction · 0.90
deleteFileFunction · 0.90
infoMethod · 0.80
errorMethod · 0.80
setMethod · 0.65
deleteMethod · 0.65
warnMethod · 0.65
eqFunction · 0.50

Tested by

no test coverage detected