googleforgames / global-multiplayer-demo

This multiplayer demo is a cloud first implementation of a global scale, realtime multiplayer game utilising dedicated game servers, utilising both Google Cloud's products and open source gaming solutions.
Apache License 2.0
117 stars 16 forks source link

[Game Server] If Allocated and alive for a minute, shut itself down #165

Open markmandel opened 1 year ago

markmandel commented 1 year ago

Game Servers shut themselves down after a game has completed, but a GameServer can get orphaned occasioanlly.

My suggestion - if a game server has been moved to allocated, but is still alive after a minute, shutdown. Since games are 30 second long, that seems like a reasonable buffer.