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

Experimental concurrency support #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mzpqnxow
Copy link
Contributor

This is not well tested and is probably not suitable for merge, but I plan to use this branch a little while in my own project

In theory it should only add new behavior for those who are using cache_to_disk in a (probably) uncommon way. Please see #10 for background

From limited testing, it seems that it's a relatively rare case (<1% of the time) that the lock can't be acquired on the first try. I've not yet encountered a case where the retries were exhausted. In that case (exhausting retries) an exception will be raised. This would probably have to be documented before even being considered for a merge into your project

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.

1 participant