summary refs log tree commit diff
path: root/gateway/src/events/Connection.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-12 21:54:58 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-12 21:54:58 +0200
commit90c5444324d0ff1c1af7f4bd9f16997cee4df0b5 (patch)
treeb26e2522ca3099166a552674874d5726896d8de2 /gateway/src/events/Connection.ts
parent:zap: improve memory managment (diff)
downloadserver-90c5444324d0ff1c1af7f4bd9f16997cee4df0b5.tar.xz
:pencil: improve logging
Diffstat (limited to 'gateway/src/events/Connection.ts')
-rw-r--r--gateway/src/events/Connection.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/gateway/src/events/Connection.ts b/gateway/src/events/Connection.ts
index 2cf22f7d..9bb034f0 100644
--- a/gateway/src/events/Connection.ts
+++ b/gateway/src/events/Connection.ts
@@ -28,6 +28,7 @@ export async function Connection(
 		socket.on("close", Close);
 		// @ts-ignore
 		socket.on("message", Message);
+		console.log(`[Gateway] Connections: ${this.clients.size}`);
 
 		const { searchParams } = new URL(`http://localhost${request.url}`);
 		// @ts-ignore