Adds Netty Channel Flush Consolidation to reduce the amount of flushing This improves performanceo of netty event loop. If a problem is encountered with this, you can disable it by adding the java flag: -DPaper.disableFlushConsolidate=true Also avoids spamming closed channel exception by rechecking closed state in dispatch and then catch exceptions and close if they fire. This should resolve connections getting stuck spamming ChannelClosed in logs and let them clean up and close correctly.
18 KiB
18 KiB