Skip to content

Conversation

@ranger-ross
Copy link
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.

2 participants