Skip to content

Handle key expiry using a single goroutine #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions