MCPcopy Index your code
hub / github.com/simstudioai/sim / getInlineJobQueue

Function getInlineJobQueue

apps/sim/lib/core/async-jobs/config.ts:74–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 * Used for execution paths that must avoid Trigger.dev cold starts.
73 */
74export async function getInlineJobQueue(): Promise<JobQueueBackend> {
75 if (cachedInlineBackend) {
76 return cachedInlineBackend
77 }
78
79 const { DatabaseJobQueue } = await import('@/lib/core/async-jobs/backends/database')
80 cachedInlineBackend = new DatabaseJobQueue()
81
82 logger.info('Inline job backend initialized: database')
83 return cachedInlineBackend
84}
85
86/**
87 * Checks if jobs should be executed inline in-process.

Callers 2

queueWebhookExecutionFunction · 0.90

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected