Add MTU config option (#908)

* Add config option

* Add reloading
This commit is contained in:
David Markowitz
2022-12-21 08:51:27 -08:00
committed by GitHub
parent 38eb441ca1
commit 51dd56f0a0
4 changed files with 18 additions and 2 deletions

View File

@@ -1762,6 +1762,7 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
scriptedActivityComponent->ReloadConfig();
}
Game::server->UpdateMaximumMtuSize();
Game::server->UpdateBandwidthLimit();
ChatPackets::SendSystemMessage(sysAddr, u"Successfully reloaded config for world!");
}