Skip to content

httpclient will still use 40 threads #1116

Open
@ghost

Description

I found even the client side will start 40 threads, I am working on a ARM box environment, 40 threads are too much, is this correct behavior?

(gdb) bt
#0 __pthread_create_2_1 (newthread=0x7fffffd8f0, attr=0x0, start_routine=0x4bc448 <(anonymous namespace)::threadpool_impl::thread_start(void*)>,
arg=0x74ccd0 crossplat::threadpool::shared_instance()::s_shared) at pthread_create.c:505
#1 0x00000000004bcdec in crossplat::threadpool::shared_instance() ()
#2 0x00000000004bf148 in web::http::client::details::create_platform_final_pipeline_stage(web::uri&&, web::http::client::http_client_config&&) ()
#3 0x0000000000481b78 in web::http::client::http_client::http_client(web::uri const&, web::http::client::http_client_config const&) ()
#4 0x0000000000481ee0 in web::http::client::http_client::http_client(web::uri const&) ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions