mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 05:43:15 +00:00
cache: set timeout to 24 hour - FIXME DO NOT MERGE
This commit is contained in:
2
lib/cache/cache.go
vendored
2
lib/cache/cache.go
vendored
@@ -22,7 +22,7 @@ func New() *Cache {
|
|||||||
return &Cache{
|
return &Cache{
|
||||||
cache: map[string]*cacheEntry{},
|
cache: map[string]*cacheEntry{},
|
||||||
expireRunning: false,
|
expireRunning: false,
|
||||||
expireDuration: 300 * time.Second,
|
expireDuration: 24 * time.Hour,
|
||||||
expireInterval: 60 * time.Second,
|
expireInterval: 60 * time.Second,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user