Readd network optimization patch

This commit is contained in:
Nassim Jahnke
2023-09-23 11:45:34 +10:00
parent 7a108cda40
commit 663a0d893e
3 changed files with 276 additions and 245 deletions

View File

@@ -513,7 +513,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ return new DefaultEventLoopGroup(0, (new ThreadFactoryBuilder()).setNameFormat("Netty Local Client IO #%d").setDaemon(true).setUncaughtExceptionHandler(new net.minecraft.DefaultUncaughtExceptionHandlerWithName(LOGGER)).build()); // Paper
});
private final PacketFlow receiving;
private final Queue<Consumer<Connection>> pendingActions = Queues.newConcurrentLinkedQueue();
private final Queue<WrappedConsumer> pendingActions = Queues.newConcurrentLinkedQueue();
@@ -0,0 +0,0 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> {
}