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

Expose num_threads for the vroom backend #1201

Closed
hsbadr opened this issue Apr 30, 2021 · 0 comments
Closed

Expose num_threads for the vroom backend #1201

hsbadr opened this issue Apr 30, 2021 · 0 comments

Comments

@hsbadr
Copy link

hsbadr commented Apr 30, 2021

The 2nd edition of readr uses vroom as a backend, which by default utilizes parallel::detectCores() unless the user sets num_threads argument or VROOM_THREADS environment variable. This can overwhelm the resources when reading multiple files in parallel. So, it would be useful to expose num_threads, defaulting to 1L or vroom::vroom_threads().

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

1 participant