Skip to Content
⚠️Active Development Notice: TimeTiles is under active development. Information may be placeholder content or not up-to-date.
ReferenceAPI ReferenceLibraryJobsHandlersCleanup Approval Locks Job

web


web / lib/jobs/handlers/cleanup-approval-locks-job

lib/jobs/handlers/cleanup-approval-locks-job

Cleanup job for service processing locks.

This job runs periodically to clean up any stale processing locks in the StageTransitionService. It prevents memory leaks from locks that might not have been properly cleaned up due to application crashes or errors.

Variables

cleanupApprovalLocksJob

const cleanupApprovalLocksJob: object

Type declaration

slug

slug: string = "cleanup-approval-locks"

schedule

schedule: object[]

handler()

handler: () => object

Returns

object

output

output: object

output.transitionLocksCleaned

transitionLocksCleaned: number = result.output.cleaned

output.totalCleaned

totalCleaned: number = result.output.cleaned

Last updated on