Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for Hevery (0.14 sec)

  1. internal/config/identity/plugin/config.go

    	case reqTimeMinute.Equal(h.currentMinute.statsTime):
    		entry = &h.currentMinute
    	case reqTimeMinute.Equal(h.lastFullMinute.statsTime):
    		entry = &h.lastFullMinute
    	default:
    		// This request is too old, it should never happen, ignore it as we
    		// cannot return an error.
    		return
    	}
    
    	// Update stats
    	if isSuccess {
    		if entry.maxRttMs < rttMs {
    			entry.maxRttMs = rttMs
    		}
    		entry.rttMsSum += rttMs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  2. cmd/endpoint.go

    	// where there are situations same endpoints with multiple disks
    	// come online indicating either one of them is local and some
    	// of them are not local. This situation can never happen and
    	// its only a possibility in orchestrated deployments with dynamic
    	// DNS. Following code ensures that we treat if one of the endpoint
    	// says its local for a given host - it is true for all endpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. cmd/metrics-v3-types.go

    	}
    }
    
    // MetricFQN - returns the fully qualified name for the given metric name.
    func (mg *MetricsGroup) MetricFQN(name MetricName) string {
    	v, ok := mg.descriptorMap[name]
    	if !ok {
    		// This should never happen.
    		return ""
    	}
    	return v.toPromName(mg.CollectorPath.metricPrefix())
    }
    
    func (mg *MetricsGroup) validate() {
    	if len(mg.Descriptors) == 0 {
    		panic("Descriptors must be set")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/erasure-metadata-utils.go

    		if disks[index] == nil {
    			continue
    		}
    		if !init && !partsMetadata[index].IsValid() {
    			// Check for parts metadata validity for only
    			// fi.ModTime is not empty - ModTime is always set,
    			// if object was ever written previously.
    			continue
    		}
    		if !init && fi.XLV1 != partsMetadata[index].XLV1 {
    			continue
    		}
    		blockIndex := distribution[index]
    		shuffledPartsMetadata[blockIndex-1] = partsMetadata[index]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. cmd/iam-object-store.go

    	}
    
    	bootstrapTraceMsg("purging expired STS credentials")
    
    	iamListing, ok := iamOS.cachedIAMListing.Load().(map[string][]string)
    	if !ok {
    		// There has been no store yet. This should never happen!
    		iamLogIf(GlobalContext, errors.New("WARNING: no cached IAM listing found"))
    		return nil
    	}
    
    	// Scan STS users on disk and purge expired ones. We do not need to hold a
    	// lock with store.lock() here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. cmd/utils.go

    // unescapePath is similar to unescapeGeneric but for specifically
    // path unescaping.
    func unescapePath(p string) (string, error) {
    	return unescapeGeneric(p, url.PathUnescape)
    }
    
    // similar to unescapeGeneric but never returns any error if the unescaping
    // fails, returns the input as is in such occasion, not meant to be
    // used where strict validation is expected.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. 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)
  8. cmd/prepare-storage.go

    	}
    
    	tries++ // tried already once
    
    	// Wait on each try for an update.
    	ticker := time.NewTicker(1 * time.Second)
    	defer ticker.Stop()
    
    	for {
    		// Only log once every 10 iterations, then reset the tries count.
    		verbose = tries >= 10
    		if verbose {
    			tries = 1
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. internal/logger/logger.go

    		return
    	}
    
    	// Iterate over all logger targets to send the log entry
    	for _, t := range systemTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    				entry.Trace.Message = fmt.Sprintf("event(%#v) was not sent to Logger target (%#v): %#v", entry, t, err)
    				consoleTgt.Send(ctx, entry)
    			}
    		}
    	}
    }
    
    // Event sends a event log to  log targets
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    	if err != nil && !errors.Is(err, errConfigNotFound) {
    		return b, err
    	}
    	if err == nil {
    		b.defaultTimestamps()
    	}
    
    	// If bucket metadata is missing look for legacy files,
    	// since we only ever had b.Created as non-zero when
    	// migration was complete in 2020-May release. So this
    	// a check to avoid migrating for buckets that already
    	// have this field set.
    	if b.Created.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top