Skip to content

Commit 59e19f9

Browse files
committed
fix(ci): attempt to fix ci
1 parent ad70798 commit 59e19f9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/test/resources/server.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ var slice = Array.prototype.slice;
2525
// Disable recovery on demand
2626
io.use((socket, next) => {
2727
if (socket.handshake.auth?.noRecovery === true) {
28-
console.log(socket.handshake.auth);
29-
socket.handshake.auth.pid = 'invalid-' + Date.now();
28+
console.log('Disabling recovery for socket', socket.id);
29+
//socket.conn.id = 'no-recovery-' + Date.now();
30+
socket.conn.recovered = false;
3031
}
3132
next();
3233
});

0 commit comments

Comments
 (0)