beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
57 stars 53 forks source link

Defaults cache lists to empty lists #376

Closed geekingfrog closed 2 months ago

geekingfrog commented 2 months ago

Because the :lists cache has an expiry time of 1 minutes, if there's no activity for a given list after a minute, retrieving the list would return nil and that causes problem when the code expects [].