Disable redis

This commit is contained in:
2021-03-07 19:28:37 +01:00
parent d878e69d14
commit 5792fec15a
+3 -3
View File
@@ -38,10 +38,10 @@ def create_app(test_config=None):
) )
CORS(app) CORS(app)
cache.init_app(app, config={ cache.init_app(app, config={
'CACHE_TYPE': 'RedisCache', 'CACHE_TYPE': 'SimpleCache',
'CACHE_DEFAULT_TIMEOUT': 30, 'CACHE_DEFAULT_TIMEOUT': 30,
'CACHE_KEY_PREFIX': 'agora', #'CACHE_KEY_PREFIX': 'agora',
'CACHE_REDIS_HOST': 'localhost', #'CACHE_REDIS_HOST': 'localhost',
}) })
if test_config is None: if test_config is None: