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

Function releaseClaim

apps/sim/background/schedule-execution.ts:622–629  ·  view source on GitHub ↗
(
      releaseNow: Date,
      context: string,
      nextRunAt?: Date | null
    )

Source from the content-addressed store, hash-verified

620 })
621
622 const releaseClaim = (
623 releaseNow: Date,
624 context: string,
625 nextRunAt?: Date | null
626 ): Promise<boolean> =>
627 releaseScheduleLock(payload.scheduleId, requestId, releaseNow, context, nextRunAt, {
628 expectedLastQueuedAt: claimedAt,
629 })
630
631 const updateClaimedSchedule = (
632 updates: WorkflowScheduleUpdate,

Callers 1

executeScheduleJobFunction · 0.85

Calls 1

releaseScheduleLockFunction · 0.85

Tested by

no test coverage detected