@@ -8,7 +8,7 @@ from time import time
from threading import Lock
from typing import Callable, Union
-STALE = 10*60
+STALE = 7*24*60*60
class CachedLoadingPage():
@@ -41,7 +41,7 @@ def trend_thread(conn, path, forms):
)).start()
return cb
-PAGE_CACHE = PageCache(10)
+PAGE_CACHE = PageCache(100)
QUERY_CACHE = QueryCache(None)
@route('/grocery/trend', method=['GET', 'POST'])