fucking work please
This commit is contained in:
parent
b0d5953164
commit
9ffa9f703c
|
@ -409,6 +409,12 @@ async function handshake(name, password){
|
||||||
|
|
||||||
deek.emit("error", "code=" + code + " reason=" + reason);
|
deek.emit("error", "code=" + code + " reason=" + reason);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ws._socket.setTimeout(10000);
|
||||||
|
ws._socket.on("timeout", function(){
|
||||||
|
|
||||||
|
deek.emit("error", "timed out")
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue