mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
fix: rename crawler as scanner in config (#11549)
This commit is contained in:
@@ -145,7 +145,7 @@ func (m *metacache) worthKeeping(currentCycle uint64) bool {
|
||||
// Cycle is somehow bigger.
|
||||
return false
|
||||
case cache.finished() && time.Since(cache.lastHandout) > 48*time.Hour:
|
||||
// Keep only for 2 days. Fallback if crawler is clogged.
|
||||
// Keep only for 2 days. Fallback if scanner is clogged.
|
||||
return false
|
||||
case cache.finished() && currentCycle >= dataUsageUpdateDirCycles && cache.startedCycle < currentCycle-dataUsageUpdateDirCycles:
|
||||
// Cycle is too old to be valuable.
|
||||
|
||||
Reference in New Issue
Block a user