Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for parseBitrotConfig (0.08 seconds)

  1. internal/config/heal/heal.go

    	configMutex.Lock()
    	defer configMutex.Unlock()
    
    	opts.Bitrot = nopts.Bitrot
    	opts.IOCount = nopts.IOCount
    	opts.Sleep = nopts.Sleep
    	opts.DriveWorkers = nopts.DriveWorkers
    
    	opts.cache.bitrotCycle, _ = parseBitrotConfig(nopts.Bitrot)
    }
    
    // DefaultKVS - default KV config for heal settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Bitrot,
    		Value: config.EnableOff,
    	},
    	config.KV{
    		Key:   Sleep,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 04 19:06:02 GMT 2024
    - 4.9K bytes
    - Click Count (0)
Back to Top