rails-sqlserver / tiny_tds

TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
Other
607 stars 189 forks source link

ConnectionPool with timed out connection #450

Closed atomical closed 4 years ago

atomical commented 4 years ago

Let's say a connection in the connection pool goes bad. How do we remove it or reconnect?

atomical commented 4 years ago

I created a wrapper: https://gist.github.com/atomical/b0555b6c3661d8957e0fcfe777bb2934