Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for duor (0.31 sec)

  1. internal/config/drive/drive.go

    	if d == "" {
    		d = env.Get("_MINIO_DRIVE_MAX_TIMEOUT", "")
    		if d == "" {
    			d = env.Get("_MINIO_DISK_MAX_TIMEOUT", "")
    		}
    	}
    
    	dur, _ := time.ParseDuration(d)
    	if dur < time.Second {
    		cfg.MaxTimeout = 30 * time.Second
    	} else {
    		cfg.MaxTimeout = getMaxTimeout(dur)
    	}
    	return cfg, err
    }
    
    func getMaxTimeout(t time.Duration) time.Duration {
    	if t < time.Second {
    		// get default value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. internal/config/identity/ldap/ldap.go

    		return l.stsExpiryDuration, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minLDAPExpiry || dur > maxLDAPExpiry {
    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    
    // ParsesAsDN determines if the given string could be a valid DN based on
    // parsing alone.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. cmd/tier.go

    		Buckets: []float64{0.01, 0.1, 1, 2, 5, 10, 60, 5 * 60, 15 * 60, 30 * 60},
    	}, []string{"tier"}),
    }
    
    func (t *tierMetrics) Observe(tier string, dur time.Duration) {
    	t.histogram.With(prometheus.Labels{"tier": tier}).Observe(dur.Seconds())
    }
    
    func (t *tierMetrics) logSuccess(tier string) {
    	t.Lock()
    	defer t.Unlock()
    
    	stat := t.requestsCount[tier]
    	stat.success++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/server-main.go

    	}
    
    	now := time.Now()
    	worker()
    	dur := time.Since(now)
    
    	info := madmin.TraceInfo{
    		TraceType: madmin.TraceBootstrap,
    		Time:      UTCNow(),
    		NodeName:  globalLocalNodeName,
    		FuncName:  "BOOTSTRAP",
    		Message:   fmt.Sprintf("%s %s (duration: %s)", getSource(2), msg, dur),
    	}
    	globalBootstrapTracer.Record(info)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top