airmash-refugees / game-ideas

A place to keep track of ideas for improvements to AIRMASH
4 stars 2 forks source link

What's wrong with airmash? #41

Closed Johnnyouknow closed 4 years ago

Johnnyouknow commented 4 years ago
congratulatio commented 4 years ago

Was this on airmash.online and if so do you have a date and time for when this occurred? So I can check the logs for any disturbance. Thanks!

wight-airmash commented 4 years ago

@congratulatio https://airmash.online/games returned empty 200 response during 10-15 minutes after this issue was created.

congratulatio commented 4 years ago

Thanks, I think I see what happened. It was a concurrency issue, I need make sure the backend task that retrieves the player count from each server doesn't overlap with its next invocation. Fixing it now, sorry for the downtime earlier.

congratulatio commented 4 years ago

Fixed in https://github.com/airmash-refugees/airmash-backend/commit/4b9c26f78ea9b68c3f7ccded6e1fca4924af2915

congratulatio commented 4 years ago

If the /games endpoint becomes unexpectedly unavailable in future, https://github.com/airmash-refugees/airmash-frontend/commit/488324308a067c0a9b5be91c864575dc4cdaa3e9 should permit players to still connect to the game servers.