Browse Source

increase number of rpc workers

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
39e8ed8fb7
  1. 2
      src/bitcoinrpc.cpp

2
src/bitcoinrpc.cpp

@ -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));
} }

Loading…
Cancel
Save