master
Aevann1 2021-09-20 15:53:52 +02:00
parent 3cc4f52dd1
commit 7163049385
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ app.config["RATELIMIT_DEFAULTS_EXEMPT_WHEN"]=lambda:False
app.config["RATELIMIT_HEADERS_ENABLED"]=True app.config["RATELIMIT_HEADERS_ENABLED"]=True
redispool=ConnectionPool(max_connections=app.config["REDIS_POOL_SIZE"], host=app.config["CACHE_REDIS_URL"][8:]) redispool=ConnectionPool(max_connections=app.config["REDIS_POOL_SIZE"], host=app.config["CACHE_REDIS_URL"][8:])
app.config["CACHE_OPTIONS"]={'connection_pool':redispool} # app.config["CACHE_OPTIONS"]={'connection_pool':redispool}
Markdown(app) Markdown(app)
cache = Cache(app) cache = Cache(app)