Fix incorrect expiration of value if expiration_time is -1.

Merged
#25 · Created  · Last updated

Merged pull request

Merge branch 'fixexpire' of https://bitbucket.org/hongbin034/dogpile.cache

337ed32·Author: ·Closed by: ·2015-01-21

Description

According to the documentation below, setting expiration_time to -1 should get a cached value with no expiration consideration. However, the methods did not seem to behave this way.

http://dogpilecache.readthedocs.org/en/latest/api.html#dogpile.cache.region.CacheRegion.get_or_create.params.expiration_time http://dogpilecache.readthedocs.org/en/latest/api.html#dogpile.cache.region.CacheRegion.get_or_create_multi.params.expiration_time

0 attachments

0 comments

Loading commits...