Skip to content

Commit

Permalink
fix(Core/WorldSocketMgr): sync default Network.OutUBuff with worldser… (
Browse files Browse the repository at this point in the history
azerothcore#19702)

* fix(Core/WorldSocketMgr): sync default Network.OutUBuff with worldserver.conf.dist

* Update WorldSocketMgr.cpp
  • Loading branch information
sudlud authored Aug 23, 2024
1 parent 3419f02 commit 30a7901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/Server/WorldSocketMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class WorldSocketThread : public NetworkThread<WorldSocket>
};

WorldSocketMgr::WorldSocketMgr() :
BaseSocketMgr(), _socketSystemSendBufferSize(-1), _socketApplicationSendBufferSize(65536), _tcpNoDelay(true)
BaseSocketMgr(), _socketSystemSendBufferSize(-1), _socketApplicationSendBufferSize(4096), _tcpNoDelay(true)
{
}

Expand All @@ -57,7 +57,7 @@ bool WorldSocketMgr::StartWorldNetwork(Acore::Asio::IoContext& ioContext, std::s

// -1 means use default
_socketSystemSendBufferSize = sConfigMgr->GetOption<int32>("Network.OutKBuff", -1);
_socketApplicationSendBufferSize = sConfigMgr->GetOption<int32>("Network.OutUBuff", 65536);
_socketApplicationSendBufferSize = sConfigMgr->GetOption<int32>("Network.OutUBuff", 4096);

if (_socketApplicationSendBufferSize <= 0)
{
Expand Down

0 comments on commit 30a7901

Please sign in to comment.