forked from rDrama/rDrama
1
0
Fork 0

expire function cache when source code changes

master
Aevann 2023-08-04 01:05:46 +03:00
parent c3d32fa344
commit 626570a31f
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ app.config["CACHE_KEY_PREFIX"] = f"{SITE}_flask_cache_"
app.config["CACHE_TYPE"] = "RedisCache"
app.config["CACHE_REDIS_URL"] = environ.get("REDIS_URL").strip()
app.config["CACHE_DEFAULT_TIMEOUT"] = 86400
app.config["CACHE_SOURCE_CHECK"] = True
#to allow session cookie to work on videos.watchpeopledie.tv
if SITE == 'watchpeopledie.tv':