Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Handle key expiry using a single goroutine #5

@cnu

Description

@cnu

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions