Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for max_wait (0.43 sec)

  1. internal/config/scanner/scanner.go

    	// replaced them with a single speed parameter
    	Delay            = "delay"
    	MaxWait          = "max_wait"
    	Cycle            = "cycle"
    	EnvDelay         = "MINIO_SCANNER_DELAY"
    	EnvCycle         = "MINIO_SCANNER_CYCLE"
    	EnvDelayLegacy   = "MINIO_CRAWLER_DELAY"
    	EnvMaxWait       = "MINIO_SCANNER_MAX_WAIT"
    	EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT"
    )
    
    // Config represents the heal settings.
    type Config struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/PingResponse.java

                    builder.field(NUMBER_OF_IN_FLIGHT_FETCH, response.getNumberOfInFlightFetch());
                }
                if (fieldSet.contains(TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS)) {
                    builder.field(TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS, response.getTaskMaxWaitingTime().getMillis());
                }
                if (fieldSet.contains(ACTIVE_SHARDS_PERCENT_AS_NUMBER)) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/config/README.md

    ```
    ~ mc admin config set alias/ scanner
    KEY:
    scanner  manage namespace scanning for usage calculation, lifecycle, healing and more
    
    ARGS:
    delay     (float)     scanner delay multiplier, defaults to '10.0'
    max_wait  (duration)  maximum wait time between operations, defaults to '15s'
    cycle     (duration)  time duration between scanner cycles
    ```
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  4. cmd/background-heal-ops.go

    	return int(globalHTTPListen.Subscribers()) + int(globalTrace.Subscribers())
    }
    
    func waitForLowIO(maxIO int, maxWait time.Duration, currentIO func() int) {
    	// No need to wait run at full speed.
    	if maxIO <= 0 {
    		return
    	}
    
    	const waitTick = 100 * time.Millisecond
    
    	tmpMaxWait := maxWait
    
    	for currentIO() >= maxIO {
    		if tmpMaxWait > 0 {
    			if tmpMaxWait < waitTick {
    				time.Sleep(tmpMaxWait)
    				return
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    		// Grab current values
    		d.mu.RLock()
    		minWait, maxWait := d.minSleep, d.maxSleep
    		factor := d.factor
    		cycle := d.cycle
    		d.mu.RUnlock()
    		// Don't sleep for really small amount of time
    		wantSleep := time.Duration(float64(base) * factor)
    		if wantSleep <= minWait {
    			return
    		}
    		if maxWait > 0 && wantSleep > maxWait {
    			wantSleep = maxWait
    		}
    		timer := time.NewTimer(wantSleep)
    		select {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  6. cmd/config-current.go

    			scannerCycle.Store(scannerCfg.Cycle)
    			scannerExcessObjectVersions.Store(scannerCfg.ExcessVersions)
    			scannerExcessFolders.Store(scannerCfg.ExcessFolders)
    			configLogIf(ctx, scannerSleeper.Update(scannerCfg.Delay, scannerCfg.MaxWait))
    		}
    	case config.LoggerWebhookSubSys:
    		loggerCfg, err := logger.LookupConfigForSubSys(ctx, s, config.LoggerWebhookSubSys)
    		if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 30.9K bytes
    - Viewed (0)
Back to top