diff --git a/wsgi.py b/wsgi.py index 70d0de3..b73e2de 100644 --- a/wsgi.py +++ b/wsgi.py @@ -16,7 +16,7 @@ from download_digital import construct_dataframe, get_bez_data config = { "CACHE_TYPE": "FileSystemCache", "CACHE_DEFAULT_TIMEOUT": 300, - "CACHE_THRESHOLD": 1000, + "CACHE_THRESHOLD": 50, "CACHE_DIR": "cache", } import locale @@ -162,7 +162,7 @@ def plot( @app.route("/") -@cache.cached(timeout=50) +@cache.cached() def tables( url: str = "https://beschaeftigtenbefragung.verdi.de/", ):