Merge pull request #657 from openreplay/api-v1.7.0_smtp_patch

feat(chalice): fixed unkeyed connection issue
This commit is contained in:
Kraiem Taha Yassine 2022-08-05 10:58:49 +02:00 committed by GitHub
commit 34f98cb0ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)