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 RequestCollapserEngine caching lazy with exceptions as value indefinitely #6

Merged
merged 2 commits into from
Jun 4, 2020

Conversation

Allen-Xiao
Copy link
Contributor

When the valueFactory inside a Lazy object throws an exception, the collapser engine is not properly cleaning it up from the ConcurrentDictionary. This results in the RequestCollapserPolicy caching the result indefinitely.

…ill result in the RequestCollapser's Engine to cache the exception indefinitely.
Copy link

@veleek veleek left a comment

Choose a reason for hiding this comment

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

🕐

@jjxtra
Copy link
Contributor

jjxtra commented Jun 4, 2020

@reisenberger Would love your input

Copy link

@veleek veleek left a comment

Choose a reason for hiding this comment

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

:shipit:

@jjxtra jjxtra merged commit b3daa98 into Polly-Contrib:master Jun 4, 2020
@jjxtra
Copy link
Contributor

jjxtra commented Jun 4, 2020

How do we get an updated nuget built?

@jjxtra
Copy link
Contributor

jjxtra commented Jun 4, 2020

@veleek @reisenberger Either of you able to do the nuget voodoo for this? I think v. 0.3.0 would be the next version.

@veleek
Copy link

veleek commented Jun 5, 2020

I do not. I'm assuming everybody in the https://github.com/orgs/Polly-Contrib/people group have access.

@joelhulen
Copy link
Member

@jjxtra I'll help you out with the package deployment. Taking a look now.

@joelhulen
Copy link
Member

@jjxtra I've deployed the NuGet package. The package version is 0.2.1. It should post soon.

The NuGet auth key had expired, so I updated it in AppVeyor, which is what we use for CI/CD.

@jjxtra
Copy link
Contributor

jjxtra commented Jun 5, 2020

@joelhulen Thank you so much for your assistance!

@joelhulen
Copy link
Member

Of course! Thank you for your contribution :)

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.

None yet

4 participants