mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-20 10:24:15 +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).
2 lines
151 B
Markdown
2 lines
151 B
Markdown
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
|