-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core SqlConnection ConnectRetryCount not work? #261
Comments
Have you tried Microsoft.Data.SqlClient? |
I tried Microsoft.Data.SqlClient.
execution results of both versions were as follows.
almost same result ConnectRetryCount=1 and 5. |
Thanks for reporting the issue. The behavior should be same as far as I can tell from implementation goals. We'll update you when we investigate the root cause. |
Hi @OdaShinsuke We recently fixed a bug in Connection Resiliency (#304) that was broken in one of the 4.7.0-preview versions of System.Data.SqlClient and eventually landed in Microsoft.Data.SqlClient. PR #310 contains the fix for this issue that has been merged, would you like to give it try to check if this is the same problem? A NuGet package containing this fix can be found here: v1.1.0-build.19320.1-d0672d2 |
I tried v1.1.0-build.19320.1-d0672d2. and this problem improved. |
.NET Core SqlConnection ConnectRetryCount not work?
SqlConnection ConnectRetryCount behaves differently between .NET Framework and .NET Core.
To reproduce
Expected behavior
Changed ConnectRetryCount value in .NET Core
ConnectRetryCount not work?
The text was updated successfully, but these errors were encountered: