rebel-l / sessionservice

A simple session service based on golang.
GNU General Public License v3.0
0 stars 0 forks source link

Garbage Collector #30

Open rebel-l opened 6 years ago

rebel-l commented 6 years ago

We need something to cleanup the Redis storage from expired sessions. The redis EXPIRE command can be used here. On every read or update this expiration is reset to the normal lifetime.

rebel-l commented 6 years ago

As Redis has a lifetime feature I'm sure we don't need this. Let's check after GET, DELETE and PUT is finished