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.
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.