]> git.openstreetmap.org Git - nominatim.git/commit
enable connection pools for sqlite
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 5 Dec 2023 11:22:00 +0000 (12:22 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Dec 2023 08:31:00 +0000 (09:31 +0100)
commit1b7c8240baeb383a2481f895fc85a74aaa16e94e
tree0636e9408bd5532ad138047b0a9e57ac944a99fb
parentc4fd3ab97f94f184369f1d9e7189a992ffc8f4f7
enable connection pools for sqlite

Connecting is reasonably expensive because the spatialite extension
needs to be loaded. Disable pooling for tests because there is some
memory leak when quickly opening and closing QueuePools with sqlite
connections.
nominatim/api/core.py
test/python/api/conftest.py