Skip to content

Conversation

@mezis
Copy link
Contributor

@mezis mezis commented Aug 27, 2015

Not all Redis instances are configured with maxmemory-policy = volatile-lru or allkeys.
Some have volatile-ttl (typical for mixed cache/persistent usage) or even noeviction.

For compatibility, a TTL can always be set, defaulting to a long duration (here, 1 year).

@radar
Copy link
Member

radar commented Aug 31, 2015

Please put the constant in a redis_cache file and not in the version file. Version file should only have the version in it.

@mezis
Copy link
Contributor Author

mezis commented Aug 31, 2015

@radar, done. Does this work for you?
(I've also rebased and resolved the conflict with #4)

@radar
Copy link
Member

radar commented Sep 2, 2015

Yes, that's great now. Thank you :)

radar added a commit that referenced this pull request Sep 2, 2015
@radar radar merged commit e76a151 into redis-store:master Sep 2, 2015
@tubbo tubbo mentioned this pull request Nov 25, 2015
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.

2 participants