Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for waitForLowHTTPReq (0.15 sec)

  1. cmd/background-heal-ops.go

    			return
    		}
    	}
    }
    
    func currentHTTPIO() int {
    	httpServer := newHTTPServerFn()
    	if httpServer == nil {
    		return 0
    	}
    
    	return httpServer.GetRequestCount() - activeListeners()
    }
    
    func waitForLowHTTPReq() {
    	maxIO, maxWait, _ := globalHealConfig.Clone()
    	waitForLowIO(maxIO, maxWait, currentHTTPIO)
    }
    
    func initBackgroundHealing(ctx context.Context, objAPI ObjectLayer) {
    	bgSeq := newBgHealSequence()
    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/global-heal.go

    			if versionNotFound == len(fivs.Versions) {
    				return
    			}
    
    			send(healEntryDone(entry.name))
    
    			// Wait and proceed if there are active requests
    			waitForLowHTTPReq()
    		}
    
    		// How to resolve partial results.
    		resolver := metadataResolutionParams{
    			dirQuorum: 1,
    			objQuorum: 1,
    			bucket:    bucket,
    		}
    
    		err = listPathRaw(ctx, listPathRawOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    		bucket:    bucket,
    		object:    object,
    		versionID: versionID,
    		opts:      &h.settings,
    	}, madmin.HealItemObject)
    
    	// Wait and proceed if there are active requests
    	waitForLowHTTPReq()
    
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top