We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To better support concurrency, add a Cache.lock primitive which would look something like
Cache.lock
with cache.lock(prefix, url) as lock: previous = lock.get(schema_version) # ... lock.save(current)
While a lock is held on a file, any other attempt at acquiring that lock should block.
The text was updated successfully, but these errors were encountered:
At this point you might wonder why I don’t just move to using SQLite for the backing store. The thing is,
Sorry, something went wrong.
No branches or pull requests
To better support concurrency, add a
Cache.lock
primitive which would look something likeWhile a lock is held on a file, any other attempt at acquiring that lock should block.
The text was updated successfully, but these errors were encountered: