mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 05:50:00 -04:00
fix denial-of-service in tracker
This commit is contained in:
parent
e1c627a920
commit
500bbb916e
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ app.ws("/join", (ws, req) => {
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
ws.ping()
|
ws.ping()
|
||||||
}, 10000);
|
}, 10000);
|
||||||
|
ws.on("error", console.error);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue