SQLAlchemy 2.0 QueuePool default for SQLite: connection reuse implications for multi-threaded file-based databases
The SQLAlchemy 2.0 release changes the default connection poolclass for file-based SQLite databases from NullPool to QueuePool, modifying how connections are reused and how they interact with the pysqlite driver's thread and connection semantics. This shift occurs silently during engine construction when no explicit poolclass is provided. The goal is to dete