We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a460794 commit 49957ebCopy full SHA for 49957eb
tiled/server/connection_pool.py
@@ -55,7 +55,7 @@ async def __aexit__(self, *excinfo):
55
56
57
def open_database_connection_pool(database_settings: DatabaseSettings) -> AsyncEngine:
58
- if make_url(database_settings.uri).database == ":memory:":
+ if make_url(database_settings.uri).database == ":memory:" or database_settings.uri == "sqlite://":
59
# For SQLite databases that exist only in process memory,
60
# pooling is not applicable. Just return an engine and don't cache it.
61
engine = create_async_engine(
0 commit comments