Cleanup cache params

This commit is contained in:
Felix Blanke 2023-08-27 23:21:56 +02:00
parent 0eb3bb6b91
commit 2916db7858

View File

@ -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/",
):