increase number of rpc workers

This commit is contained in:
Miguel Freitas 2013-10-24 23:32:20 -02:00
parent 543898da85
commit 39e8ed8fb7

View File

@ -848,7 +848,7 @@ void StartRPCThreads()
} }
rpc_worker_group = new boost::thread_group(); 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)); rpc_worker_group->create_thread(boost::bind(&asio::io_service::run, rpc_io_service));
} }