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

Adding support for overriding number of threads #563

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

joaori
Copy link

@joaori joaori commented Mar 4, 2022

Currently the number of CPU cores of the host running the converter is used to define the number of threads. This may not be ideal for scenarios when not all CPU cores are allocated to the application.

My current use case is running the converter in a docker container:

  • no matter how many CPU cores I allocate to the container, the number of threads will be fixed and based on total number of cores available in the host.

This PR adds support for defining the number of threads through command line parameter -t [ --threads ] , so that we're able to tweak the default setting.

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