LukeGarrigan / planfree.dev

A completely free implementation of planning poker
23 stars 11 forks source link

Server restart recovery #12

Closed LukeGarrigan closed 3 years ago

LukeGarrigan commented 3 years ago

we need some way to deal with the server restarting: image

At the moment if the server restarts it loses information about the rooms, player names etc. Need some way that doesn't involve persistence to handle this.

LukeGarrigan commented 3 years ago

So a temporary fix has been added to emit the names of players continuously to the server. So if the server were to restart - which it does, frequently - then it'll let the server recreate the player objects with the appropriate names. This certainly isn't an ideal solution, but until I bother hosting it somewhere that doesn't restart every few minutes, it'll have to do.