Core/Networking: Activate single threaded optimization for io_service running in NetworkThread

(cherry picked from commit 9711dd3f70)
This commit is contained in:
Shauren
2017-08-15 23:55:41 +02:00
committed by Aokromes
parent e6e1403b2d
commit 92003135da

View File

@@ -37,7 +37,7 @@ template<class SocketType>
class NetworkThread
{
public:
NetworkThread() : _connections(0), _stopped(false), _thread(nullptr),
NetworkThread() : _connections(0), _stopped(false), _thread(nullptr), _io_service(1),
_acceptSocket(_io_service), _updateTimer(_io_service)
{
}