mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Decrease cache ttl to 5 days for Thing and Query.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user