wafflehaus / chewcrew

LUNCH!
http://chewcrew.cc:8080/api
ISC License
0 stars 0 forks source link

Add background process to delete old sessions #31

Open ryyan opened 9 years ago

ryyan commented 9 years ago

Add a background goroutine to delete old/unused sessions.

Will need to add a timestamp to each session that gets updated on every update (ex: voter joins, voter votes, etc..). When this timestamp is X hours old, then the background thread will delete it.