This commit is contained in:
AfonsoCMSousa committed 2026-01-02 00:39:39 +00:00
1 parent bcdf542606
commit e84dd993af
11 files changed
+539 -37

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { addUser, removeUser } from "../state/connection";
import { addUser, removeUser } from "../state/connection.js";
const HEARTBEAT_INTERVAL = 30000; // 30 seconds
const HEARTBEAT_TIMEOUT = 10000; // 10 seconds
+1 -1
View File
@@ -14,4 +14,4 @@ export const removeUser = (socketId) => {
export const getUserCount = () => {
return users.size;
};
};