1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

moved flask-caching dir to /tmp/hyperglass_cache

This commit is contained in:
checktheroads
2019-06-11 22:37:28 -07:00
parent 90cb08b1f0
commit 2ffdc9ec72

View File

@@ -260,7 +260,7 @@ def params():
features["cache"] = config["features"]["cache"]
features["cache"]["timeout"] = config["features"]["cache"].get("timeout", 120)
features["cache"]["directory"] = config["features"]["cache"].get(
"directory", os.path.join(hyperglass_root, ".flask_cache")
"directory", os.path.join(hyperglass_root, "/tmp/hyperglass_cache")
)
features["cache"]["show_text"] = config["features"]["cache"].get("show_text", True)
features["cache"]["text"] = config["features"]["cache"].get(