Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis adapter option to set a TTL to keys #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bencolon
Copy link

I'm working on a project where short urls are periodically generated and have to expire after a given time.
Redis key TTL is just perfect to manage this expiration time, so I've added an :expire option to pass to the Redis adapter to set a TTL to the Redis keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant