refactor: expire anon after 1 minute
This commit is contained in:
parent
369000ad46
commit
9bc2b803d1
|
@ -106,7 +106,7 @@ export function createSocketServer(httpServer) {
|
|||
socket: socket.id,
|
||||
timestamp,
|
||||
}))
|
||||
.expire(key, 600)
|
||||
.expire(key, '/r/anonymous' === channel ? 60 : 600)
|
||||
.exec(() => fn([timestamp, uuid]));
|
||||
}
|
||||
if (packet instanceof Usernames) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user