fix(Core/WorldSocketMgr): sync default Network.OutUBuff with worldser… (#19702)
* fix(Core/WorldSocketMgr): sync default Network.OutUBuff with worldserver.conf.dist * Update WorldSocketMgr.cpp
This commit is contained in:
parent
3419f0246b
commit
30a790117b
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ public:
|
|||
};
|
||||
|
||||
WorldSocketMgr::WorldSocketMgr() :
|
||||
BaseSocketMgr(), _socketSystemSendBufferSize(-1), _socketApplicationSendBufferSize(65536), _tcpNoDelay(true)
|
||||
BaseSocketMgr(), _socketSystemSendBufferSize(-1), _socketApplicationSendBufferSize(4096), _tcpNoDelay(true)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue