Commit 416e0686 authored by Bkg2k's avatar Bkg2k

Fix thread count

parent 46281da2
......@@ -449,7 +449,7 @@ bool SystemData::loadConfig()
boost::asio::io_service ioService;
boost::thread_group threadpool;
boost::asio::io_service::work work(ioService);
for (int i = 1; --i >= 0;)
for (int i = 4; --i >= 0;)
threadpool.create_thread(boost::bind(&boost::asio::io_service::run, &ioService));
// Iterate over the map using Iterator till end.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment