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 = {
|
config = {
|
||||||
"CACHE_TYPE": "FileSystemCache",
|
"CACHE_TYPE": "FileSystemCache",
|
||||||
"CACHE_DEFAULT_TIMEOUT": 300,
|
"CACHE_DEFAULT_TIMEOUT": 300,
|
||||||
"CACHE_THRESHOLD": 1000,
|
"CACHE_THRESHOLD": 50,
|
||||||
"CACHE_DIR": "cache",
|
"CACHE_DIR": "cache",
|
||||||
}
|
}
|
||||||
import locale
|
import locale
|
||||||
@ -162,7 +162,7 @@ def plot(
|
|||||||
|
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
@cache.cached(timeout=50)
|
@cache.cached()
|
||||||
def tables(
|
def tables(
|
||||||
url: str = "https://beschaeftigtenbefragung.verdi.de/",
|
url: str = "https://beschaeftigtenbefragung.verdi.de/",
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user