feat(chalice): fixed unkeyed connection issue

This commit is contained in:
Taha Yassine Kraiem 2022-08-05 10:58:23 +02:00
parent c5208bf2c3
commit 4dd1431f01

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)