]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/core.py
remove disabling of prepared statements
[nominatim.git] / nominatim / api / core.py
index 8d503fa5e836cbb9b82ab992530de5cead00bf4b..2a19d97442cc46cf6870b213117cecc7ff65988d 100644 (file)
@@ -57,8 +57,6 @@ class NominatimAPIAsync:
 
             query = {k: v for k, v in dsn.items()
                       if k not in ('user', 'password', 'dbname', 'host', 'port')}
-            if PGCORE_LIB == 'asyncpg':
-                query['prepared_statement_cache_size'] = '0'
 
             dburl = sa.engine.URL.create(
                        f'postgresql+{PGCORE_LIB}',