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

question about relaxing locking #15

Open
tjb900 opened this issue Sep 7, 2018 · 1 comment
Open

question about relaxing locking #15

tjb900 opened this issue Sep 7, 2018 · 1 comment

Comments

@tjb900
Copy link

tjb900 commented Sep 7, 2018

Hi,

So I'm a user of a package which depends on codepy (devitoproject.org). Since the compilations it generates can be quite slow (several minutes each), parallelism is obviously desirable if possible. The current locking system in codepy precludes this, if we want to also make use of the cache (which we do - because several minutes per compilation!).

Just so I don't start down a completely unwelcome path - can you please advise if a patch which changes the locking to be one-lockfile-per-hash (rather than a single lock on the whole cache directory) would be welcome?

Thanks!

@inducer
Copy link
Owner

inducer commented Sep 10, 2018

Sure, I'd be happy to have that. Thanks for offering.

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

No branches or pull requests

2 participants