Changed MAL maximum cache age to 7 days

This commit is contained in:
Eduard Urbach 2018-03-22 19:29:11 +01:00
parent f56df09e36
commit f7d58fd4e9

View File

@ -13,7 +13,7 @@ import (
const ( const (
// The maximum age of files we accept until we force a refresh. // The maximum age of files we accept until we force a refresh.
maxAge = 30 * 24 * time.Hour maxAge = 7 * 24 * time.Hour
delayBetweenRequests = 1000 * time.Millisecond delayBetweenRequests = 1000 * time.Millisecond
userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.166 Safari/537.36" userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.166 Safari/537.36"
) )