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
parent 3ae5b72075
commit 6da6f1b415

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)
{
}