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

Fixed #348 by ensuring that semaphore permits are released. #349

Merged
merged 2 commits into from
May 1, 2020

Conversation

MichaelRoeder
Copy link
Member

No description provided.

}
// If the URI is not in the cache, or it has been cached but the result
// is null and the request should be retried
if (!uriIsCached || (uriIsCached && (result == null) && requestEntitiesNotFound)) {
cacheReadMutex.release();
result = decoratedRetriever.retrieveSameURIs(uri);
requestUri(uri);
Copy link
Contributor

@LukasBluebaum LukasBluebaum Apr 30, 2020

Choose a reason for hiding this comment

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

I think here the returned Uri set should be assigned to result?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Fixed.

@MichaelRoeder MichaelRoeder merged commit af75d65 into master May 1, 2020
@MichaelRoeder MichaelRoeder deleted the hotfix/348 branch May 1, 2020 10:39
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