From faad1fefec1e22bb3009d779a7919012f7de575f Mon Sep 17 00:00:00 2001 From: Corey Burmeister Date: Fri, 5 Nov 2021 08:38:37 -0700 Subject: [PATCH] Reduce cache duration to 1 minute --- app/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app/main.py b/app/app/main.py index fac1743..4fdd290 100644 --- a/app/app/main.py +++ b/app/app/main.py @@ -18,7 +18,7 @@ app.config['SECRET_KEY'] = os.environ['SECRET_KEY'] app.config['CACHE_TYPE'] = 'filesystem' app.config['CACHE_DIR'] = '/tmp' -app.config['CACHE_DEFAULT_TIMEOUT'] = 60 * 5 +app.config['CACHE_DEFAULT_TIMEOUT'] = 60 * 1 auth = HTTPBasicAuth() cache = Cache(app)