Fix invalid treatment of timeout=0 #1

robhudson opened this Issue Sep 14, 2012 · 1 comment


None yet

2 participants

Mozilla member

Django's memcache backend treats a timeout=0 as invalid and falls back to using a default timeout value:

We previously used the django-cache-machine backend which fixes this:

Could we do something similar in this backend, so timeout=0 are treated as infinite?

Mozilla member

Sorry for the late answer - I just noticed your message

Sure we could do this - will work on a patch

@tarekziade tarekziade closed this in 00737a7 Oct 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment