Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for replLogOnceIf (0.21 sec)

  1. cmd/bucket-replication.go

    		p.mu.RLock()
    		prio := p.priority
    		maxWorkers := p.maxWorkers
    		p.mu.RUnlock()
    		switch prio {
    		case "fast":
    			replLogOnceIf(GlobalContext, fmt.Errorf("Unable to keep up with incoming traffic"), string(replicationSubsystem), logger.WarningKind)
    		case "slow":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/logging.go

    import (
    	"context"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    func replLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "replication", err, errKind...)
    }
    
    func replLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "replication", err, id, errKind...)
    }
    
    func iamLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for {
    		err := c.loadFromDisk(ctx, objAPI)
    		if err == errConfigNotFound {
    			return nil
    		}
    		if err == nil {
    			break
    		}
    		replLogOnceIf(context.Background(), fmt.Errorf("unable to initialize site replication subsystem: (%w)", err), "site-relication-init")
    
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top