mirror of
https://github.com/quay/quay.git
synced 2026-01-27 18:42:52 +03:00
Replace custom connect() wrapper with peewee's built-in pragmas parameter to fix SQLite connection failure after OMR upgrade. The previous implementation called execute_sql() inside connect(), which triggered retry logic on failure, causing infinite recursion and connection state corruption. Using peewee's native mechanism applies PRAGMAs via the raw cursor before connect() returns. Co-authored-by: Claude <noreply@anthropic.com>
4.6 KiB
4.6 KiB