You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
Hello, I just had an event with more than 200 concurrent players and had a few error 500.
Searching the case I found out that when the session expires and the players are on the gameboard, they are never redirected to the index, and the server continues to receives requests.
When the enforceLogin() function is called, and the session is not active I'm having the following error:
Although this error should not happen, if it didn't we would be getting a 302 and redirecting all request to index, but the requests would still be happening (and be larger ones).
I think the frontend should validate if the session is valid or not every few requests or minutes, and in case it's not, the user should be redirected to the logout or /index.