Add a comment about an issue with score submit

This commit is contained in:
tgpethan 2020-09-02 10:14:47 +01:00
parent 8e2e92d05f
commit 63098d2858

View file

@ -13,6 +13,8 @@ global.users = [
]; ];
// Start a loop that gets new data for users from the database for use on the user panel // 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(() => { setInterval(() => {
for (let i = 0; i < global.users.length; i++) { for (let i = 0; i < global.users.length; i++) {
const User = global.users[i]; const User = global.users[i];