Skip to content

Conversation

@andyundso
Copy link
Member

Both updates do not appear to really have an influence on our code. The error message when the connections times out on Windows (and Windows only) seem to have changed lightly.

result.each { |r| puts r }
rescue TinyTds::Error => e
if e.message == "Adaptive Server connection timed out"
if e.message.include?("connection timed out")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the new error message?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is TDS server timeout on Windows, but still Adaptive Server on Linux.

@andyundso andyundso merged commit 15f1934 into rails-sqlserver:master May 28, 2025
115 checks passed
@andyundso andyundso deleted the updates branch May 28, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants