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

Proposal #10

Closed
wants to merge 5 commits into from
Closed

Proposal #10

wants to merge 5 commits into from

Conversation

chaami
Copy link
Contributor

@chaami chaami commented Dec 31, 2019

Loading big events store will look less like a deadlock with additional logs regarding the initial catch-up.
Also adds a ConfigureAwait(false) that shouldn't do any harm...

@@ -36,7 +36,8 @@ public AzureCacheProvider(CloudBlobContainer container, bool useStateCache, int

private async Task<CloudBlockBlob[]> Blobs(string fullname)
{
await _container.CreateIfNotExistsAsync();
Copy link
Member

Choose a reason for hiding this comment

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

It seems redundant to call ExistsAsync() before calling CreateIfNotExistsAsync(). You should add a comment explaining why this call is in fact necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed.
I am adding comments and switching the second call to a more explicit CreateAsync() call.
Thanks.

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