Cleanup cache params
This commit is contained in:
parent
0eb3bb6b91
commit
2916db7858
4
wsgi.py
4
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/",
|
||||
):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user