Skip to content

Commit

Permalink
restoring some timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
phenobarbital committed Nov 19, 2023
1 parent a35163a commit 6e5dba0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion asyncdb/drivers/pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ async def connect(self):
"application_name": self.application_name,
"idle_in_transaction_session_timeout": "60min",
"idle_session_timeout": "60min",
"max_parallel_workers": "512"
"statement_timeout": "60min",
"tcp_keepalives_idle": "30min"
}
server_settings = {**server_settings, **self._server_settings}
if self.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.5.11'
__version__ = '2.5.12'
__author__ = 'Jesus Lara'
__author_email__ = '[email protected]'
__license__ = 'BSD'

0 comments on commit 6e5dba0

Please sign in to comment.