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

fix async call in cache write #1043

Closed
wants to merge 2 commits into from
Closed

Conversation

jennyf19
Copy link
Collaborator

@jennyf19 jennyf19 commented Mar 4, 2021

for discussion.

@jmprieur jmprieur requested a review from henrik-me March 4, 2021 17:45
@jennyf19
Copy link
Collaborator Author

jennyf19 commented Mar 4, 2021

@henrik-me i think we're still discussing this, but this branch has the latest that we (@jmprieur ) discussed.

}
else
{
await DistributedCacheRemoveKeyAsync(cacheKey, startTicks).ConfigureAwait(false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

await DistributedCacheRemoveKeyAsync(cacheKey, startTicks).ConfigureAwait(false); [](start = 16, length = 81)

should be an action, and the work should be added to an queue, and there should be an event processor to guarantee ordering of events. should do a bit more work here

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2021

@jennyf19
Copy link
Collaborator Author

not doing this.

@jennyf19 jennyf19 closed this Mar 10, 2021
@jennyf19 jennyf19 deleted the jennyf/asyncCacheWrite branch October 17, 2021 18:15
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.

2 participants