+
Skip to content

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

Open
@wangnengjie

Description

@wangnengjie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载