Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 302 for duration1 (0.12 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        assertThat(certificate.notAfter.time).isEqualTo(10000L)
      }
    
      @Test
      fun customDuration() {
        val now = System.currentTimeMillis()
        val heldCertificate =
          HeldCertificate.Builder()
            .duration(5, TimeUnit.SECONDS)
            .build()
        val certificate = heldCertificate.certificate
        val deltaMillis = 1000.0
        val durationMillis = 5000L
        assertThat(certificate.notBefore.time.toDouble())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. cmd/metrics.go

    func healingMetricsPrometheus(ch chan<- prometheus.Metric) {
    	bgSeq, exists := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if !exists {
    		return
    	}
    
    	var dur time.Duration
    	if !bgSeq.lastHealActivity.IsZero() {
    		dur = time.Since(bgSeq.lastHealActivity)
    	}
    
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/list.md

    | `minio_node_replication_link_online`                    | Reports whether the replication link is online (1) or offline (0).                                       |
    | `minio_node_replication_link_offline_duration_seconds`  | Total duration of replication link being offline in seconds since last offline event                     |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  4. internal/auth/credentials.go

    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    	case json.Number:
    		expAt, err = exp.Int64()
    	case time.Duration:
    		expAt, err = time.Now().UTC().Add(exp).Unix(), nil
    	case nil:
    		expAt, err = 0, nil
    	default:
    		expAt, err = 0, ErrInvalidDuration
    	}
    	if expAt < 0 {
    		return 0, ErrInvalidDuration
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    	for index := range buckets {
    		index := index
    		g.Go(func() error {
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    
    			_, _ = sys.objAPI.HealBucket(ctx, buckets[index], madmin.HealOpts{Recreate: true})
    			meta, err := loadBucketMetadata(ctx, sys.objAPI, buckets[index])
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    // the set topology, this monitoring happens at a given monitoring interval.
    func (s *erasureSets) monitorAndConnectEndpoints(ctx context.Context, monitorInterval time.Duration) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    
    	// Pre-emptively connect the disks if possible.
    	s.connectDisks(false)
    
    	monitor := time.NewTimer(monitorInterval)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    		return time.Now().UTC(), nil
    	}
    	return ntp.Time(ntpServer)
    }
    
    // Retention - bucket level retention configuration.
    type Retention struct {
    	Mode        RetMode
    	Validity    time.Duration
    	LockEnabled bool
    }
    
    // Retain - check whether given date is retainable by validity time.
    func (r Retention) Retain(created time.Time) bool {
    	t, err := UTCNowNTP()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    
    /**
     * Listener for metrics events. Extend this class to monitor the quantity, size, and duration of
     * your application's HTTP calls.
     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. docs/sts/ldap.md

    | Params     | Value    |
    | :--        | :--      |
    | _Type_     | _String_ |
    | _Required_ | _Yes_    |
    
    ### DurationSeconds
    
    The duration, in seconds. The value can range from 900 seconds (15 minutes) up to 365 days. If value is higher than this setting, then operation fails. By default, the value is set to 3600 seconds.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js.map

    (element) {\n    if (!element) {\n      return 0\n    }\n\n    // Get transition-duration of the element\n    let transitionDuration = $(element).css('transition-duration')\n    let transitionDelay = $(element).css('transition-delay')\n\n    const floatTransitionDuration = parseFloat(transitionDuration)\n    const floatTransitionDelay = parseFloat(transitionDelay)\n\n    // Return 0 if element or transition duration is not found\n    if (!floatTransitionDuration && !floatTransitionDelay) {\n    ...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
Back to top