Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BitrotScanCycle (0.15 sec)

  1. cmd/data-scanner.go

    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func getCycleScanMode(currentCycle, bitrotStartCycle uint64, bitrotStartTime time.Time) madmin.HealScanMode {
    	bitrotCycle := globalHealConfig.BitrotScanCycle()
    	switch bitrotCycle {
    	case -1:
    		return madmin.HealNormalScan
    	case 0:
    		return madmin.HealDeepScan
    	}
    
    	if currentCycle-bitrotStartCycle < healObjectSelectProb {
    		return madmin.HealDeepScan
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top