1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Added functionality to have image caches expire

This commit is contained in:
Krateng
2019-03-28 17:40:22 +01:00
parent 43adda8169
commit ecd6594290
3 changed files with 84 additions and 6 deletions

View File

@@ -6,3 +6,8 @@ API_PORT = 42011
[Third Party Services]
LASTFM_API_KEY = "ASK" # "ASK" signifies that the user has not yet indicated to not use any key at all.
[Cache]
CACHE_EXPIRE_NEGATIVE = 30 # after how many days negative results should be tried again
CACHE_EXPIRE_POSITIVE = none # after how many days positive results should be refreshed