Files
prowler/api/changelog.d/migration-lock-timeout.fixed.md
César Arroba 5be514a991 fix(api): fail migrations fast when blocked on a lock
Set lock_timeout on the migration session so a metadata-only migration
blocked waiting for ACCESS EXCLUSIVE on a busy table fails loudly instead
of queueing every later reader behind it. Configurable via
DJANGO_MIGRATION_LOCK_TIMEOUT (default 5s, 0 disables it).
2026-07-15 18:49:48 +02:00

151 B

Database migrations now give up after a few seconds when another query holds the table lock, instead of stalling every request that touches that table