FAForever / server

The servercode for the Forged Alliance Forever lobby
http://www.faforever.com
GNU General Public License v3.0
67 stars 62 forks source link

Refactor game options handling / Issue/#859 game title constraints #992

Closed Askaholic closed 7 months ago

Askaholic commented 7 months ago

This takes a few ideas that were started in #900 and reworks them into a standalone PR. Map data is now fetched when the game is created and immediately whenever the map is changed. This will allow us to update the validity for unranked maps immediately instead of waiting until the game is launched to perform that check. Since the map data may be accessed more frequently now, we cache it in the game service using an LRU cache.

Closes #859