From 32af7001fc6b9355d37914df52a27388cf615c42 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Mon, 8 Jun 2020 11:29:40 +0100 Subject: [PATCH] [misc] Router: prefix the publicId with 'P.' for easy differentiation --- services/real-time/app/coffee/Router.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/real-time/app/coffee/Router.coffee b/services/real-time/app/coffee/Router.coffee index 0266c71eec..91fa27930b 100644 --- a/services/real-time/app/coffee/Router.coffee +++ b/services/real-time/app/coffee/Router.coffee @@ -68,7 +68,7 @@ module.exports = Router = return # send positive confirmation that the client has a valid connection - client.publicId = base64id.generateId() + client.publicId = 'P.' + base64id.generateId() client.emit("connectionAccepted", null, client.publicId) metrics.inc('socket-io.connection')