Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 74 for minusta (0.18 sec)

  1. cmd/erasure-server-pool-decom.go

    	if len(poolIndices) > 0 && globalEndpoints[poolIndices[0]].Endpoints[0].IsLocal {
    		go func() {
    			// Resume decommissioning of pools, but wait 3 minutes for cluster to stabilize.
    			if err := sleepContext(ctx, 3*time.Minute); err != nil {
    				return
    			}
    			r := rand.New(rand.NewSource(time.Now().UnixNano()))
    			for {
    				if err := z.Decommission(ctx, poolIndices...); err != nil {
    					if errors.Is(err, errDecommissionAlreadyRunning) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  2. cmd/storage-rest-server.go

    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    const DefaultSkewTime = 15 * time.Minute
    
    // Authenticates storage client's requests and validates for skewed time.
    func storageServerRequestValidate(r *http.Request) error {
    	token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(r)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  3. cmd/globals.go

    	globalDomainIPs   set.StringSet // Root domain IP address(s) for a distributed MinIO deployment
    
    	globalOperationTimeout       = newDynamicTimeout(10*time.Minute, 5*time.Minute) // default timeout for general ops
    	globalDeleteOperationTimeout = newDynamicTimeout(5*time.Minute, 1*time.Minute)  // default time for delete ops
    
    	globalBucketObjectLockSys *BucketObjectLockSys
    	globalBucketQuotaSys      *BucketQuotaSys
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    	writeTotal        MetricName = "write_total"
    	total             MetricName = "total"
    	freeInodes        MetricName = "free_inodes"
    
    	lastMinFailedCount  MetricName = "last_minute_failed_count"
    	lastMinFailedBytes  MetricName = "last_minute_failed_bytes"
    	lastHourFailedCount MetricName = "last_hour_failed_count"
    	lastHourFailedBytes MetricName = "last_hour_failed_bytes"
    	totalFailedCount    MetricName = "total_failed_count"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	// IAM group members file
    	iamGroupMembersFile = "members.json"
    
    	// IAM format file
    	iamFormatFile = "format.json"
    
    	iamFormatVersion1 = 1
    
    	minServiceAccountExpiry time.Duration = 15 * time.Minute
    	maxServiceAccountExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    var errInvalidSvcAcctExpiration = errors.New("invalid service account expiration")
    
    type iamFormat struct {
    	Version int `json:"version"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. istioctl/pkg/metrics/metrics_test.go

    				&prometheus_model.Sample{Value: 4.95},
    			},
    		},
    	}
    	workload := "details"
    
    	sm, err := metrics(mockProm, workload, time.Minute)
    	if err != nil {
    		t.Fatalf("Unwanted exception %v", err)
    	}
    
    	var out bytes.Buffer
    	printHeader(&out)
    	printMetrics(&out, sm)
    	output := out.String()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top