DELETE watching

This commit is contained in:
daru
2022-04-16 01:14:34 +02:00
parent 6ba9176ca7
commit 940fc5008d
3 changed files with 78 additions and 36 deletions

View File

@@ -57,7 +57,7 @@ func main() {
log.Fatal(err)
}
defer cache.Close()
animeCache, err = bigcache.NewBigCache(bigcache.DefaultConfig(time.Hour))
animeCache, err = bigcache.NewBigCache(bigcache.DefaultConfig(6 * time.Hour))
if err != nil {
log.Fatal(err)
}