django-newcache
django-newcache copied to clipboard
Fix handling of timeouts within CACHE_HERD_TIMEOUT of 30 days
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.