Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCycleScanMode (0.11 sec)

  1. cmd/data-scanner.go

    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top