cammiida / ProgramvareUtviklingGroup50

BSD 2-Clause "Simplified" License
0 stars 2 forks source link

On the web server, node and socket timout on disconnect/refresh behaves erraneously/ is too slow. #2

Open helemork opened 7 years ago

helemork commented 7 years ago

When a student refreshes or disconnects while running the webpage on our webserver, the logout signal is different from when it's run on localhost. This is a known issue with socket.io and is caused by a too slow ping rate. The rate can be manipulated, but this would risk setting students that actually are still online as disconnected. The ping should never last more than 2 min, so after that our students should be logged out.