mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Dependency update; re-use Thread.MAX_PRIORITY for Spigot; other network optimizations
This commit is contained in:
parent
7fe7dc1d70
commit
0069566803
3 changed files with 10 additions and 6 deletions
|
@ -118,7 +118,8 @@ public class GeyserSpigotInjector extends GeyserInjector {
|
|||
initChannel.invoke(childHandler, ch);
|
||||
}
|
||||
})
|
||||
.group(new DefaultEventLoopGroup(0, new DefaultThreadFactory("Geyser Spigot connection thread")))
|
||||
// Set to MAX_PRIORITY as MultithreadEventLoopGroup#newDefaultThreadFactory which DefaultEventLoopGroup implements does by default
|
||||
.group(new DefaultEventLoopGroup(0, new DefaultThreadFactory("Geyser Spigot connection thread", Thread.MAX_PRIORITY)))
|
||||
.localAddress(LocalAddress.ANY))
|
||||
.bind()
|
||||
.syncUninterruptibly();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue