django-newcache icon indicating copy to clipboard operation
django-newcache copied to clipboard

Fix handling of timeouts within CACHE_HERD_TIMEOUT of 30 days

Open niran opened this issue 14 years ago • 0 comments

Since timeouts get the CACHE_HERD_TIMEOUT added to them after they've been normalized for memcache, timeouts within CACHE_HERD_TIMEOUT seconds of 30 days will be passed to memcache raw, where they will be misinterpreted. This commit fixes that, though it's a bit duplicative.

niran avatar Nov 04 '10 00:11 niran