Added Cache configuration to prevent errors

pull/78/head
Konstantin Gründger 2020-05-16 00:04:56 +02:00
rodzic daf2d81460
commit cdc4460151
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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"