From b6821d318a61053ab48a2e66834b1fa230be853f Mon Sep 17 00:00:00 2001 From: consuelita Date: Tue, 12 Dec 2023 18:00:59 -0600 Subject: [PATCH] Update NametagRouter.swift --- Sources/DandelionServer/NametagRouter.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/DandelionServer/NametagRouter.swift b/Sources/DandelionServer/NametagRouter.swift index 4a413fd..73766f2 100644 --- a/Sources/DandelionServer/NametagRouter.swift +++ b/Sources/DandelionServer/NametagRouter.swift @@ -45,10 +45,14 @@ public actor NametagRouter self.targetConnection = targetConnection self.cleaner = NametagRouterCleanup(router: self) - + + print("⚘ Enqueuing a transport connection if the clientsForClientPump.") await self.clientsForClientPump.enqueue(element: transportConnection) + + print("⚘ Enqueuing a transport connection if the clientsForServerPump.") await self.clientsForServerPump.enqueue(element: transportConnection) - + + print("⚘ Creating an ACK channel.") let ackChannel = AsyncQueue() print("⚘ Creating a client pump.")