mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding support for "Connection Lifetime" parameter in connection strings. This is especially fundamental in this scenario: - Pooling is ON because the app is in constant reception of requests. - Loadbalancer is switched to point to a new database. - Mono needs to discard the connections that are too old (marked by lifetime) in order to create new ones, that will connect to the new DB. It includes a unit test in Mono.Data.Tds testing assembly. Patch contributed under the terms by the X11/MIT license, by: James Lewis <[email protected]> Andres G. Aragoneses <[email protected]>