Skip to content

Commit b311b48

Browse files
committed
fix(mssql): actually use overriden timeout value
1 parent e8393f5 commit b311b48

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixed
6+
7+
- MSSQL: actually only wait 5 seconds for the database and table list in connector form
8+
59
## [8.0.1] 2025-04-14
610

711
### Fixed

toucan_connectors/mssql/mssql_connector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _create_engine(self, database: str | None, connect_timeout: int | None = Non
141141
connect_timeout = self.connect_timeout
142142

143143
if connect_timeout:
144-
query_params["timeout"] = str(self.connect_timeout)
144+
query_params["timeout"] = str(connect_timeout)
145145

146146
if self.trust_server_certificate:
147147
query_params["TrustServerCertificate"] = "yes"

0 commit comments

Comments
 (0)