mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 11:13:10 +08:00
Lease+heartbeat liveness in job_metadata (no new column): heartbeat() stamps owner+timestamp via shallow merge; is_lease_stale() tells a live in-flight run from a genuinely orphaned one; increment_attempt_if() is an atomic conditional bump so concurrent reconcilers cannot push a job past max_attempts.