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.
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.
Subcategory
models