oha
oha copied to clipboard
add an option to configure the number of worker threads used by tokio
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.