MCPcopy
hub / github.com/simstudioai/sim / resolveTriggerRegion

Function resolveTriggerRegion

apps/sim/lib/core/async-jobs/region.ts:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 * overriding the project's dashboard default per run.
16 */
17export async function resolveTriggerRegion(): Promise<string> {
18 return (await isFeatureEnabled('trigger-eu-region'))
19 ? TRIGGER_REGION_EU_CENTRAL
20 : TRIGGER_REGION_US_EAST
21}

Callers 15

scheduleLifecycleEmailFunction · 0.90
region.test.tsFile · 0.90
enqueueMethod · 0.90
batchEnqueueAndWaitMethod · 0.90
dispatchViaBatchTriggerFunction · 0.90
dispatchSyncFunction · 0.90
flushBatchFunction · 0.90
route.tsFile · 0.90
scheduleForkContentCopyFunction · 0.85
dispatchImportJobFunction · 0.85
dispatchDeleteJobFunction · 0.85
dispatchUpdateJobFunction · 0.85

Calls 1

isFeatureEnabledFunction · 0.90

Tested by

no test coverage detected