Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 361 for minute (0.15 sec)

  1. internal/http/server.go

    		// If server is in shutdown.
    		if atomic.LoadUint32(&srv.inShutdown) != 0 {
    			// To indicate disable keep-alive, server is shutting down.
    			w.Header().Set("Connection", "close")
    
    			// Add 1 minute retry header, incase-client wants to honor it
    			w.Header().Set(RetryAfter, "60")
    
    			w.WriteHeader(http.StatusServiceUnavailable)
    			w.Write([]byte(http.ErrServerClosed.Error()))
    			return
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    	for i := 0; i < 5; i++ {
    		fivs[i] = FileInfo{
    			Volume:      bucket,
    			Name:        obj,
    			VersionID:   uuids[i].String(),
    			IsLatest:    i == 0,
    			ModTime:     modTime.Add(-1 * time.Duration(i) * time.Minute),
    			Size:        1 << 10,
    			NumVersions: 5,
    		}
    	}
    	versioned := vcfg.Status == "Enabled"
    	wants := make([]ObjectInfo, 2)
    	for i, fi := range fivs[:2] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. internal/config/policy/plugin/config.go

    		enableHTTP2, err = config.ParseBool(v)
    		if err != nil {
    			return args, err
    		}
    	}
    	httpSettings.EnableHTTP2 = enableHTTP2
    	transport := httpSettings.NewHTTPTransportWithTimeout(time.Minute)
    
    	args = Args{
    		URL:         u,
    		AuthToken:   getCfg(AuthToken),
    		Transport:   transport,
    		CloseRespFn: closeRespFn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    }
    
    // Update replication upload latency with a new value
    func (rl *ReplicationLatency) update(size int64, duration time.Duration) {
    	rl.UploadHistogram.Add(size, duration)
    }
    
    // ReplicationLastMinute has last minute replication counters
    type ReplicationLastMinute struct {
    	LastMinute lastMinuteLatency
    }
    
    func (rl ReplicationLastMinute) merge(other ReplicationLastMinute) (nl ReplicationLastMinute) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  5. internal/config/dns/operator_dns.go

    )
    
    func (c *OperatorDNS) addAuthHeader(r *http.Request) error {
    	if c.username == "" || c.password == "" {
    		return nil
    	}
    
    	claims := &jwt.StandardClaims{
    		ExpiresAt: int64(15 * time.Minute),
    		Issuer:    c.username,
    		Subject:   config.EnvDNSWebhook,
    	}
    
    	token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	ss, err := token.SignedString([]byte(c.password))
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    		allDriveLabels...)
    	driveWaitingIOMD = NewGaugeMD(driveWaitingIO,
    		"Total waiting I/O operations on a drive", allDriveLabels...)
    	driveAPILatencyMD = NewGaugeMD(driveAPILatencyMicros,
    		"Average last minute latency in µs for drive API storage operations",
    		append(allDriveLabels, apiL)...)
    	driveHealingMD = NewGaugeMD(driveHealing,
    		"Is it healing?", allDriveLabels...)
    	driveOnlineMD = NewGaugeMD(driveOnline,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		roi.EventType = ReplicateExisting
    		globalReplicationPool.queueReplicaTask(roi)
    	}
    	return
    }
    
    const (
    	mrfSaveInterval  = 5 * time.Minute
    	mrfQueueInterval = mrfSaveInterval + time.Minute // A minute higher than save interval
    
    	mrfRetryLimit = 3 // max number of retries before letting scanner catch up on this object version
    	mrfMaxEntries = 1000000
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/bucket-targets.go

    	"github.com/minio/minio/internal/kms"
    )
    
    const (
    	defaultHealthCheckDuration = 5 * time.Second
    	// default interval for reload of all remote target endpoints
    	defaultHealthCheckReloadDuration = 30 * time.Minute
    )
    
    type arnTarget struct {
    	Client      *TargetClient
    	lastRefresh time.Time
    }
    
    // arnErrs represents number of errors seen for a ARN and if update is in progress
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. cmd/handler-api.go

    	return t.staleUploadsExpiry
    }
    
    func (t *apiConfig) getDeleteCleanupInterval() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.deleteCleanupInterval == 0 {
    		return 5 * time.Minute // every 5 minutes
    	}
    
    	return t.deleteCleanupInterval
    }
    
    func (t *apiConfig) getClusterDeadline() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.clusterDeadline == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v2/ldap"
    )
    
    const (
    	defaultLDAPExpiry = time.Hour * 1
    
    	minLDAPExpiry time.Duration = 15 * time.Minute
    	maxLDAPExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    // Config contains AD/LDAP server connectivity information.
    type Config struct {
    	LDAP ldap.Config
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
Back to top