Skip to content

Commit

Permalink
Merge pull request #1177 from phenobarbital/refactor-2.7-scylladb
Browse files Browse the repository at this point in the history
removing tpc_keepidle by default in pg connector
  • Loading branch information
phenobarbital authored Jul 23, 2024
2 parents 3db4c23 + e2140d1 commit 16f0858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions asyncdb/drivers/pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ async def connect(self):
"idle_in_transaction_session_timeout": "60min",
"idle_session_timeout": "60min",
"statement_timeout": "60min",
"tcp_keepalives_idle": "30min",
# "tcp_keepalives_idle": "30min",
}
server_settings = {**server_settings, **self._server_settings}
custom_class = {}
Expand Down Expand Up @@ -562,8 +562,8 @@ def _decoder(value):
server_settings = {
"application_name": self.application_name,
"idle_session_timeout": "120min",
"tcp_keepalives_idle": "36000",
"max_parallel_workers": "512",
# "tcp_keepalives_idle": "36000",
# "max_parallel_workers": "512",
}
server_settings = {**server_settings, **self._server_settings}
_ssl = {}
Expand Down
2 changes: 1 addition & 1 deletion asyncdb/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__title__ = "asyncdb"
__description__ = "Library for Asynchronous data source connections \
Collection of asyncio drivers."
__version__ = "2.7.15"
__version__ = "2.7.16"
__author__ = "Jesus Lara"
__author_email__ = "[email protected]"
__license__ = "BSD"

0 comments on commit 16f0858

Please sign in to comment.