From 3490ad533fb84cf3e7213270b6229a18104f7f5d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 21 Dec 2021 01:46:15 +0200 Subject: [PATCH] fdsdfs --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index 2d42f3202..cbd4e811d 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -62,7 +62,7 @@ app.config["RATELIMIT_ENABLED"] = True app.config["RATELIMIT_DEFAULTS_DEDUCT_WHEN"]=lambda:True app.config["RATELIMIT_DEFAULTS_EXEMPT_WHEN"]=lambda:False app.config["RATELIMIT_HEADERS_ENABLED"]=True -app.config["CACHE_TYPE"] = "filesystem" +app.config["CACHE_TYPE"] = "redis" app.config["CACHE_DIR"] = "cache" app.config["RATELIMIT_STORAGE_URL"] = environ.get("REDIS_URL", "redis://localhost") app.config['MAIL_SERVER'] = 'smtp.gmail.com'