From cdc44601513f4b80d348bd68d4068f25b9b51ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Gru=CC=88ndger?= Date: Sat, 16 May 2020 00:04:56 +0200 Subject: [PATCH] Added Cache configuration to prevent errors --- app/config/test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/config/test.py b/app/config/test.py index 7024064..858c2fd 100644 --- a/app/config/test.py +++ b/app/config/test.py @@ -2,6 +2,10 @@ SQLALCHEMY_DATABASE_URI = "postgresql://postgres@localhost:5432/ogn_test" SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_ECHO = True +# Flask-Cache stuff +CACHE_TYPE = "simple" +CACHE_DEFAULT_TIMEOUT = 300 + # Celery stuff CELERY_BROKER_URL = "redis://localhost:6379/0" CELERY_RESULT_BACKEND = "redis://localhost:6379/0"