Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newHealRoutine (0.11 sec)

  1. cmd/background-heal-ops.go

    			if bgSeq != nil {
    				if err == nil {
    					bgSeq.countHealed(res.Type)
    				} else {
    					bgSeq.countFailed(res.Type)
    				}
    			}
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    func newHealRoutine() *healRoutine {
    	workers := runtime.GOMAXPROCS(0) / 2
    
    	if envHealWorkers := env.Get("_MINIO_HEAL_WORKERS", ""); envHealWorkers != "" {
    		if numHealers, err := strconv.Atoi(envHealWorkers); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/globals.go

    			return ""
    		}
    		return *ptr
    	}
    
    	globalAllHealState = newHealState(GlobalContext, true)
    
    	// The always present healing routine ready to heal objects
    	globalBackgroundHealRoutine = newHealRoutine()
    	globalBackgroundHealState   = newHealState(GlobalContext, false)
    
    	globalMRFState = newMRFState()
    
    	// If writes to FS backend should be O_SYNC.
    	globalFSOSync bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top