1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

cache: set timeout to 24 hour - FIXME DO NOT MERGE

This commit is contained in:
Nick Craig-Wood
2021-02-05 19:09:46 +00:00
parent bfcf6baf93
commit 544757a33b

2
lib/cache/cache.go vendored
View File

@@ -22,7 +22,7 @@ func New() *Cache {
return &Cache{
cache: map[string]*cacheEntry{},
expireRunning: false,
expireDuration: 300 * time.Second,
expireDuration: 24 * time.Hour,
expireInterval: 60 * time.Second,
}
}