You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the expiry of keys as a field in DB.
setex and psetex will set the key's expiry in this field.
Have a scheduled goroutine which expires the keys regularly.