Skip to content

Commit 8f67779

Browse files
authored
Pong Listener set Once per Authenticated Client
1 parent b1d51aa commit 8f67779

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237

238238
if(!token.encoder) client.send(objToString(token.object,true));
239239
else client.send( await token.encoder(objToString(token.object,true)) );
240-
client.on('pong',function(){client.isAlive=true})
240+
241241
client.isAlive=true
242242
client.token=token
243243
token.clients.set(client,1)
@@ -425,4 +425,4 @@
425425
module.exports=global.webject;
426426

427427

428-
})()
428+
})()

0 commit comments

Comments
 (0)