From 2ffdc9ec72f943acf2b03145e3f33bbb33c84d52 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Tue, 11 Jun 2019 22:37:28 -0700 Subject: [PATCH] moved flask-caching dir to /tmp/hyperglass_cache --- hyperglass/configuration/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperglass/configuration/__init__.py b/hyperglass/configuration/__init__.py index ef3bedf..ced3f53 100644 --- a/hyperglass/configuration/__init__.py +++ b/hyperglass/configuration/__init__.py @@ -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(