feat(chalice): fixed unkeyed connection issue

This commit is contained in:
Taha Yassine Kraiem 2022-08-04 14:29:58 +02:00
parent 7ff01015ae
commit 2d54367bcb

View file

@ -111,7 +111,7 @@ class PostgresClient:
else:
raise error
finally:
if not self.long_query:
if not self.long_query and not self.unlimited_query:
postgreSQL_pool.putconn(self.connection)