mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Remove weird command procession limit
it was set to 1 too, wtf?!
This commit is contained in:
parent
abf3142b26
commit
9f684eac92
4 changed files with 2 additions and 9 deletions
|
@ -1158,16 +1158,13 @@ bool UDPPeer::processReliableSendCommand(
|
|||
|
||||
void UDPPeer::RunCommandQueues(
|
||||
unsigned int max_packet_size,
|
||||
unsigned int maxcommands,
|
||||
unsigned int maxtransfer)
|
||||
{
|
||||
|
||||
for (Channel &channel : channels) {
|
||||
unsigned int commands_processed = 0;
|
||||
|
||||
if ((!channel.queued_commands.empty()) &&
|
||||
(channel.queued_reliables.size() < maxtransfer) &&
|
||||
(commands_processed < maxcommands)) {
|
||||
(channel.queued_reliables.size() < maxtransfer)) {
|
||||
try {
|
||||
ConnectionCommandPtr c = channel.queued_commands.front();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue