Decrease cache ttl to 5 days for Thing and Query.

This commit is contained in:
Brian Simpson
2015-02-24 19:52:31 -05:00
parent 711c4c2580
commit e6b966d17f

View File

@@ -36,8 +36,8 @@ from r2.lib.db import tdb_sql as tdb, sorts, operators
from r2.lib.utils import Results, tup, to36
THING_CACHE_TTL = int(timedelta(days=7).total_seconds())
QUERY_CACHE_TTL = int(timedelta(days=7).total_seconds())
THING_CACHE_TTL = int(timedelta(days=5).total_seconds())
QUERY_CACHE_TTL = int(timedelta(days=5).total_seconds())
class NotFound(Exception): pass