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

Multithread apps and expired value #1

Merged
merged 1 commit into from
Aug 2, 2015

Conversation

NShahri
Copy link

@NShahri NShahri commented Jul 30, 2015

@cliechty

It seems when we use AsyncCache in multithread apps, there is a possibility to create multiple thread to update the expired value.

If two or more threads try to get the value (expired value) of a key in the same time, AsyncCache creates new updating threads for each request. I expect to create only one thread.

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