mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +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>