diff options
| author | Adam Soltys <[email protected]> | 2022-07-25 22:36:55 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-01 22:18:18 -0700 |
| commit | d292ff4e3a1569a8808e91c21ef116117faea673 (patch) | |
| tree | dc9362fd71b2754c0020e17c79a387f779c40a25 /lib | |
| parent | 4079344d34e5e5310b3ea13c695cfe7c2926d68b (diff) | |
| download | coinos-server-d292ff4e3a1569a8808e91c21ef116117faea673.tar.gz coinos-server-d292ff4e3a1569a8808e91c21ef116117faea673.zip | |
comment out last seen check
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sockets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js index 30a6b49d..e216d904 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -93,7 +93,7 @@ wss.on("connection", function(ws, req) { case "login": let token = data; - if (differenceInSeconds(new Date(), lastSeen[token]) < 5) return; + // if (differenceInSeconds(new Date(), lastSeen[token]) < 5) return; lastSeen[token] = new Date(); try { |
