Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 302 for duration1 (0.06 sec)

  1. internal/config/callhome/help.go

    			Type:        "on|off",
    			Description: "set to enable callhome" + defaultHelpPostfix(Enable),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Frequency,
    			Type:        "duration",
    			Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency),
    			Optional:    true,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 06 23:14:52 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    	for {
    		if err := sm.load(ctx, newObjectLayerFn()); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Second*10))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		}
    	}
    }
    
    func (ri *batchJobInfo) updateAfter(ctx context.Context, api ObjectLayer, duration time.Duration, job BatchJobRequest) error {
    	if ri == nil {
    		return errInvalidArgument
    	}
    	now := UTCNow()
    	ri.mu.Lock()
    	var (
    		format, version uint16
    		jobTyp          string
    	)
    
    	if now.Sub(ri.LastUpdate) >= duration {
    		switch job.Type() {
    		case madmin.BatchJobReplicate:
    			format = batchReplFormat
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. internal/config/callhome/callhome.go

    	Frequency time.Duration `json:"frequency"`
    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if callhome is enabled or not
    func (c *Config) Enabled() bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable
    }
    
    // FrequencyDur - returns the currently configured callhome frequency
    func (c *Config) FrequencyDur() time.Duration {
    	configLock.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. internal/http/response-recorder.go

    	http.ResponseWriter
    	io.ReaderFrom
    	StatusCode int
    	// Log body of 4xx or 5xx responses
    	LogErrBody bool
    	// Log body of all responses
    	LogAllBody bool
    
    	ttfbHeader time.Duration
    	ttfbBody   time.Duration
    
    	StartTime time.Time
    	// number of bytes written
    	bytesWritten int
    	// number of bytes of response headers written
    	headerBytesWritten int
    	// Internal recording buffer
    	headers bytes.Buffer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @J2ktIncompatible
      @GwtIncompatible // java.time.Duration
      public static ScheduledExecutorService getExitingScheduledExecutorService(
          ScheduledThreadPoolExecutor executor, Duration terminationTimeout) {
        return getExitingScheduledExecutorService(
            executor, toNanosSaturated(terminationTimeout), TimeUnit.NANOSECONDS);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Queues.java

      @GwtIncompatible // BlockingQueue
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // Users will use this only if they're already using Duration
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py

            "repeat_at": "15:30:00",
            "process_after": 300,
        }
        expected_response = data.copy()
        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
                "duration": 176_100,
                "item_id": item_id,
            }
        )
        response = client.put(f"/items/{item_id}", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/RateLimiter.java

    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothBursty;
    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.time.Duration;
    import java.util.Locale;
    import java.util.concurrent.TimeUnit;
    import javax.annotation.CheckForNull;
    
    /**
     * A rate limiter. Conceptually, a rate limiter distributes permits at a configurable rate. Each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. internal/config/heal/help.go

    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         Sleep,
    			Description: `maximum sleep duration between objects to slow down heal operation` + defaultHelpPostfix(Sleep),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         IOCount,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top