mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-11 05:54:17 +00:00
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).
151 B
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