From bc67ca73a39d852c9a536432397645eaee84dd7a Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 17 Jan 2019 19:05:31 +0100 Subject: [PATCH] More explicit name for connection registration thread. Verified thread handoff is correct --- src/dorkbox/network/Server.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dorkbox/network/Server.java b/src/dorkbox/network/Server.java index ec71a3cd..50fff40a 100644 --- a/src/dorkbox/network/Server.java +++ b/src/dorkbox/network/Server.java @@ -186,7 +186,7 @@ class Server extends EndPointServer { // Beside the usual ChannelOptions the Native Transport allows to enable TCP_CORK which may come in handy if you implement a HTTP Server. tcpBootstrap.group(newEventLoop(1, threadName + "-TCP-BOSS"), - newEventLoop(1, threadName + "-TCP-HAND")) + newEventLoop(1, threadName + "-TCP-REGISTRATION")) .option(ChannelOption.SO_BACKLOG, backlogConnectionCount) .option(ChannelOption.SO_REUSEADDR, true) .option(ChannelOption.WRITE_BUFFER_WATER_MARK, new WriteBufferWaterMark(WRITE_BUFF_LOW, WRITE_BUFF_HIGH)) @@ -233,7 +233,7 @@ class Server extends EndPointServer { FixedRecvByteBufAllocator recvByteBufAllocator = new FixedRecvByteBufAllocator(EndPoint.udpMaxSize); udpBootstrap.group(newEventLoop(1, threadName + "-UDP-BOSS"), - newEventLoop(1, threadName + "-UDP-HAND")) + newEventLoop(1, threadName + "-UDP-REGISTRATION")) .option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT) .option(ChannelOption.RCVBUF_ALLOCATOR, recvByteBufAllocator) .option(ChannelOption.WRITE_BUFFER_WATER_MARK, new WriteBufferWaterMark(WRITE_BUFF_LOW, WRITE_BUFF_HIGH))