mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Remove weird command procession limit
it was set to 1 too, wtf?!
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user