From 63098d285864890d4232db8476a054177d7c1b62 Mon Sep 17 00:00:00 2001 From: tgpethan Date: Wed, 2 Sep 2020 10:14:47 +0100 Subject: [PATCH] Add a comment about an issue with score submit --- server/serverHandler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/serverHandler.js b/server/serverHandler.js index 8b8cee0..d8076ea 100644 --- a/server/serverHandler.js +++ b/server/serverHandler.js @@ -13,6 +13,8 @@ global.users = [ ]; // Start a loop that gets new data for users from the database for use on the user panel +// TODO: Some way of informing bancho that a user has set a score so details can be pulled down quickly +// Possible solution, TCP socket between the score submit server and bancho? redis? (score submit is on a different server, redis probably wouldn't work) setInterval(() => { for (let i = 0; i < global.users.length; i++) { const User = global.users[i];