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(storage-proofs-porep): use file locking for cache generation #1179

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

dignifiedquire
Copy link
Contributor

No description provided.

Copy link
Collaborator

@porcuquine porcuquine left a comment

Choose a reason for hiding this comment

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

If CI likes it, so do I.

@@ -25,7 +25,7 @@ pub const PARAMETER_METADATA_EXT: &str = "meta";
pub const VERIFYING_KEY_EXT: &str = "vk";

#[derive(Debug)]
struct LockedFile(File);
pub struct LockedFile(File);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This might belong in a more general place if being used elsewhere now, too. Let's consider moving later.

@cryptonemo cryptonemo changed the title fix(storage-proofs-porep): use file locking for chache generation fix(storage-proofs-porep): use file locking for cache generation Jun 19, 2020
@cryptonemo cryptonemo merged commit fa103a9 into master Jun 19, 2020
@cryptonemo cryptonemo deleted the fix-cache branch July 15, 2020 19:38
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.

3 participants