Skip to content

Commit

Permalink
Added extra debug to search
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoAbove committed Sep 8, 2024
1 parent 5ffd4b1 commit d8d2ea0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/io/compute.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ export const counts = {
};
const users = {};

setInterval(() => {
console.info(users);
}, 5000);

const registerUserSocket = (userId, socketId, type, appetite = 0) => {
if (!users[userId]) {
users[userId] = { hosts: new Set(), workers: new Set() };
Expand Down

0 comments on commit d8d2ea0

Please sign in to comment.