variable MIGRATION_LOCK_TTL_MS

A migration lock older than this is treated as abandoned and stolen. Migrations run inline on edge isolates that can be evicted mid-run, orphaning the lock; the TTL lets the next boot self-heal instead of requiring a manual DELETE FROM settings.

Type

number

Usage

import { MIGRATION_LOCK_TTL_MS } from "doc.ts";