Skip to content

Set a maximum thread limit for the remove_dir_all crate #4413

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

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

ChrisDenton
Copy link
Member

@ChrisDenton ChrisDenton commented Jul 15, 2025

Under the hood it uses rayon so we preinitialise rayon's global pool.

Follow up to #4407
Fixes #4403

Under the hood it uses rayon so we pre-initialize the global pool.
@ChrisDenton ChrisDenton enabled auto-merge July 15, 2025 12:28
@ChrisDenton ChrisDenton added this pull request to the merge queue Jul 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 15, 2025
@ChrisDenton
Copy link
Member Author

Hm, that looks spurious. I'll try again and see if it reoccurs.

@ChrisDenton ChrisDenton added this pull request to the merge queue Jul 15, 2025
Merged via the queue into rust-lang:master with commit f5cea1a Jul 15, 2025
29 checks passed
@ChrisDenton ChrisDenton deleted the rayon_threads branch July 15, 2025 13:23
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.

Exception "Resource temporarily unavailable" appears during executing rustup on Linux system with ulimit restrictions
3 participants