nl_tokens: join rooms before on connect to avoid race conditions
pl_tokens: function _attachRoomsSocketIO ( ) { if ( ! io ) return ; // middleware io . use ( ( socket , <mask> ) => { const { node_id : nodeId , } = socket . handshake . query ; if ( nodeId ) { logger . info ( ` ${ nodeId } ` ) ; socket . join ( nodeId ) ; } return next ( ) ; } ) ; }