Skip to content
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

Remove ConfigureAwait(false) calls and analyzer (DB-549) #4087

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

timothycoleman
Copy link
Contributor

@timothycoleman timothycoleman commented Nov 27, 2023

Removed: Unncessary code

I think these were originally added because there were some places in the code (mostly in the client and embedded client) where they there necessary. These days the client lives in another repository and there is no embedded client. There aren't any synchronization contexts to forget in the server code and none of the async paths are hot enough that we need the cycles saved by not checking for a sync context, so we can remove the ugly calls.

I think these were originally added because there were some places in the code (mostly in the client and embedded client) where they there necessary.
These days the client lives in another repository and there is no embedded client. There aren't any synchronization contexts to forget in the server code and
none of the async paths are hot enough that we need the cycles saved by not checking for a sync context, so we can remove the ugly calls.
Copy link

linear bot commented Nov 27, 2023

DB-549 Remove configure await false calls from server

They are ugly and we dont need them any more.

I think these were originally added because there were some places in the code (mostly in the client and embedded client) where they there necessary.

These days the client lives in another repository and there is no embedded client. There aren't any synchronization contexts to forget in the server code and

none of the async paths are hot enough that we need the cycles saved by not checking for a sync context, so we can remove the ugly calls.

@hayley-jean hayley-jean merged commit 0af116a into master Nov 29, 2023
9 checks passed
@hayley-jean hayley-jean deleted the timothycoleman/configure-awont branch November 29, 2023 13:21
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.

3 participants