feat(server): disable UDP and stats support
UDP and stats support have been disabled to streamline server operations and reduce resource usage. This change improves performance and simplifies troubleshooting by focusing on HTTP and WebSocket functionalities.
This commit is contained in:
parent
fbbacfa991
commit
eb557648f4
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ const PORT = process.env.TRACKER_PORT || 8106;
|
||||||
const HOST = process.env.TRACKER_HOST || "localhost";
|
const HOST = process.env.TRACKER_HOST || "localhost";
|
||||||
|
|
||||||
const server = new Server({
|
const server = new Server({
|
||||||
udp: true,
|
udp: false,
|
||||||
http: true,
|
http: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
stats: true,
|
stats: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
server.on("error", (err) => {
|
server.on("error", (err) => {
|
||||||
|
|
Loading…
Reference in a new issue