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

add an option to configure the number of worker threads used by tokio #574

Open
wangnengjie opened this issue Sep 2, 2024 · 0 comments
Open

Comments

@wangnengjie
Copy link

currently oha will use the number of cores available to the system. (#[tokio::main] will set it by default)
it will be nice to be able to configure it by an option.
a simple way is to set environment variable TOKIO_WORKER_THREADS which will be read by tokio but need to add some document, i.e., helper message in oha.

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