X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fa4e5513d14139732a807ffb96dfa2fbb1e01f53..b427fc79656124cd91475ac26016f5865fbc04f3:/nominatim/api/core.py diff --git a/nominatim/api/core.py b/nominatim/api/core.py index c0b83f80..3481e647 100644 --- a/nominatim/api/core.py +++ b/nominatim/api/core.py @@ -88,7 +88,7 @@ class NominatimAPIAsync: #pylint: disable=too-many-instance-attributes if self.config.get_int('API_POOL_SIZE') == 0: extra_args['poolclass'] = sa.pool.NullPool else: - extra_args['poolclass'] = sa.pool.QueuePool + extra_args['poolclass'] = sa.pool.AsyncAdaptedQueuePool extra_args['max_overflow'] = 0 extra_args['pool_size'] = self.config.get_int('API_POOL_SIZE')