Commit f8580302b471568332b08bf0d0e1f974cc753831

Authored by Adhidarma Hadiwinoto
1 parent 95a0a88808
Exists in master

Add server generated xid on missing client xid

Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff

... ... @@ -52,10 +52,8 @@ if (!wsListenPort) {
52 52 } = client;
53 53  
54 54 logger.info(`${MODULE_NAME} F7755A03: Client connected`, {
55   - xid: connectionXid,
56   - remoteAddress,
57   - apikeyName,
58   - apikey,
  55 + xid: connectionXid || uniqid(),
  56 + client,
59 57 });
60 58  
61 59 const heatbeatPingInterval = setInterval(() => {