mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Networking: Activate single threaded optimization for io_service running in NetworkThread
(cherry picked from commit 9711dd3f70)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user