oha icon indicating copy to clipboard operation
oha copied to clipboard

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

Open wangnengjie opened this issue 1 year ago • 0 comments

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.

wangnengjie avatar Sep 02 '24 08:09 wangnengjie