Store GameServer info in database
Closed this issue · 0 comments
timiimit commented
Problem
From my testing i noticed that if master server goes offline and back online, then game server does not try to reestablish connection from scratch. Instead it just continues sending heartbeats and failing because master server doesn't know it exists.
Solution
Instead of just keeping a singleton instance of MatchmakingService
which keeps all game server data in memory, we should store all info in database.