moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
915 stars 292 forks source link

Scoreboard is not updating #542

Open PunitTailor55 opened 1 year ago

PunitTailor55 commented 1 year ago

I have observed that during production website, I have submitted 5 flags but not updating in real time.

eljeffeg commented 1 year ago

Sounds like a websocket issue. Anything in the webbrowser dev console? Make sure the origin is correct in config.

eljeffeg commented 1 year ago

Or probably part of the performance issue, which is beyond my skill set. Help is needed to properly asyc / thread db access. https://github.com/moloch--/RootTheBox/issues/522

eljeffeg commented 1 year ago

I created a new branch https://github.com/moloch--/RootTheBox/tree/multiprocessing_gamestate that reorganizes the scoreboard update slightly to hopefully perform a little better. My tests show it updating the scoreboard properly, but could use additional testing.

eljeffeg commented 1 year ago

The intent later is to readdress #522 if I can... but this is the first step.