]> git.lizzy.rs Git - go-anidb.git/blobdiff - misc.go
anidb: Support querying for mylist of an Anime
[go-anidb.git] / misc.go
diff --git a/misc.go b/misc.go
index 8393a0fd7b489791263a3bde9b9f766b3ebc98c6..b74f1c9e02b91ea5057013415240f466db362f18 100644 (file)
--- a/misc.go
+++ b/misc.go
@@ -15,6 +15,11 @@ var (
        GroupCacheDuration   = 4 * DefaultCacheDuration // They don't change that often.
        FileCacheDuration    = 8 * DefaultCacheDuration // These change even less often.
 
+       MyListCacheDuration        = 12 * time.Hour           // When the file isn't watched
+       MyListWatchedCacheDuration = 2 * DefaultCacheDuration // When the file is watched
+
+       LIDCacheDuration = 4 * DefaultCacheDuration
+
        UIDCacheDuration = 16 * DefaultCacheDuration // Can these even be changed?
 
        // Used for anime that have already finished airing.