mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
increase number of rpc workers
This commit is contained in:
parent
543898da85
commit
39e8ed8fb7
@ -848,7 +848,7 @@ void StartRPCThreads()
|
||||
}
|
||||
|
||||
rpc_worker_group = new boost::thread_group();
|
||||
for (int i = 0; i < GetArg("-rpcthreads", 4); i++)
|
||||
for (int i = 0; i < GetArg("-rpcthreads", 10); i++)
|
||||
rpc_worker_group->create_thread(boost::bind(&asio::io_service::run, rpc_io_service));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user