mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
The 0412 lock-retry case let go of the lock on a 2.5 s timer. On a loaded runner the migrate CLI took longer than that to start, so the first attempt found the lock already free, applied cleanly and never produced the 55P03 the case is about. The lock is now released once the attempt is seen queued behind it in pg_stat_activity and gone again, which is the moment its own timeout fired, and the case fails outright if no attempt ever queued. It holds with the CLI start delayed by four seconds.