Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/background-heal-ops.go

    		}
    		if tmpMaxWait <= 0 {
    			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) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    					logger.Info("Site replication healing refresh took %.2fs", took)
    				}
    
    				// wait for 200 millisecond, if we are experience lot of I/O
    				waitForLowIO(runtime.GOMAXPROCS(0), 200*time.Millisecond, currentHTTPIO)
    			}
    			healTimer.Reset(siteHealTimeInterval)
    
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    type srBucketStatsSummary struct {
    	madmin.SRBucketStatsSummary
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top