1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
jbpratt e0f76d9558 fix(data): use peewee pragmas param for SQLite config (PROJQUAY-9799) (#4830)
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>
2026-01-16 15:16:20 -05:00
..