Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for drive_workers (0.05 sec)

  1. internal/config/heal/heal.go

    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.DriveWorkers
    }
    
    // Update updates opts with nopts
    func (opts *Config) Update(nopts Config) {
    	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)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 04 19:06:02 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. internal/config/heal/help.go

    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    			Key:         DriveWorkers,
    			Description: `the number of workers per drive to heal a new disk replacement` + defaultHelpPostfix(DriveWorkers),
    			Optional:    true,
    			Type:        "int",
    		},
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top