Skip to content

experiment: add cross workspace cache #21

Draft
ranger-ross wants to merge 12 commits intomasterfrom
full-bang
Draft

experiment: add cross workspace cache #21
ranger-ross wants to merge 12 commits intomasterfrom
full-bang

Conversation

@ranger-ross
Copy link
Copy Markdown
Owner

No description provided.

This commit introduces a `LockingStrategy` struct and `LockMode` enum to allow more control over
the locking strategy used during compilation. This work is done in preparation to enable fine
grain locking.
This commit adds handling to attempt to increase the max file
descriptors if we detect that there is a risk of hitting the limit.

If we cannot increase the max file descriptors, we fall back to coarse
grain locking as that is better than a build crashing due to resource
limits.
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