From: Christophe Bornet Date: Fri, 31 Jan 2025 11:24:34 +0000 (+0100) Subject: Add changelog file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0872b8d431a6937eaf05fb132578aed5723b6a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add changelog file --- diff --git a/doc/build/changelog/unreleased_20/12285.rst b/doc/build/changelog/unreleased_20/12285.rst new file mode 100644 index 0000000000..2c1451b360 --- /dev/null +++ b/doc/build/changelog/unreleased_20/12285.rst @@ -0,0 +1,6 @@ +.. change:: + :tags: change, sqlite, aiosqlite, asyncio, pool + :tickets: 12285 + + Changed default connection pool of aiosqlite from NullPool to AsyncAdaptedQueuePool for consistency with pysqlite. + diff --git a/lib/sqlalchemy/dialects/sqlite/aiosqlite.py b/lib/sqlalchemy/dialects/sqlite/aiosqlite.py index 37f44bf121..ab27e83462 100644 --- a/lib/sqlalchemy/dialects/sqlite/aiosqlite.py +++ b/lib/sqlalchemy/dialects/sqlite/aiosqlite.py @@ -93,7 +93,7 @@ based on the kind of SQLite database that's requested: * When a file-based database is specified, the dialect will use :class:`.AsyncAdaptedQueuePool` as the source of connections. - .. versionchanged:: 2.0.37 + .. versionchanged:: 2.0.38 SQLite file database engines now use :class:`.AsyncAdaptedQueuePool` by default. Previously, :class:`.NullPool` were used. The :class:`.NullPool` class