-
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
SqlRetryLogicProvider.cs is missing ConfigureAwait(false) on it's awaits #1207
Comments
Note that the compiler now includes a diagnostic to check for any await which isn't covered by ConfigureAwait(false) - it's a very good idea to enable this for any library. This is as simple as dropping the following in an .editorconfig into the solution:
|
Thanks @alexander-webber for raising it here. We'll check and fix it. |
@alexander-webber I'd appreciate it if you could share a repro app for more investigation and finding other possible issues in the driver. |
PR #1220 shall address this issue. |
SqlRetryLogicProvider.cs is missing ConfigureAwait(false) on it's awaits which is causing us pains with async deadlocks in web contexts. Is this by design for some reason, if not could you add them, at the moment we have to roll our own, pretty much identical custom retry classes just to work around this issue.
The text was updated successfully, but these errors were encountered: