mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
remove disabling of prepared statements
Fixes for query planning with prepared statements to follow in subsequent commits.
This commit is contained in:
@@ -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}',
|
||||
|
||||
Reference in New Issue
Block a user