Documentation
    Preparing search index...

    Module models/multi_node_mutex

    Cross-node mutex, used by workflow steps and (via utils.ts's withLock) run_js_code.

    Postgres: backed by advisory locks, held on a dedicated connection so the lock's lifetime is just "acquired until released" - not tied to any transaction. SQLite (always single-node): backed by an in-process fallback.

    models

    Classes

    MultiNodeMutex

    Variables

    DEFAULT_TIMEOUT_MS