Changed MAL maximum cache age to 7 days
This commit is contained in:
parent
f56df09e36
commit
f7d58fd4e9
@ -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"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user