mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Add large expiry
This commit is contained in:
@@ -26,7 +26,7 @@ def stat_update_count(key, incr=1):
|
||||
try:
|
||||
cache.incr(key, incr)
|
||||
except ValueError:
|
||||
cache.set(key, incr)
|
||||
cache.set(key, incr, 2592000)
|
||||
|
||||
class CachedDocumentManager(models.Manager):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user