Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getReplicationOpts (0.11 sec)

  1. cmd/handler-api.go

    				return
    			}
    			// Send a http timeout message
    			writeErrorResponse(ctx, w,
    				errorCodes.ToAPIErr(ErrTooManyRequests),
    				r.URL)
    
    		}
    	}
    }
    
    func (t *apiConfig) getReplicationOpts() replicationPoolOpts {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.replicationPriority == "" {
    		return replicationPoolOpts{
    			Priority:    "auto",
    			MaxWorkers:  WorkerMaxLimit,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    }
    
    func initBackgroundReplication(ctx context.Context, objectAPI ObjectLayer) {
    	stats := NewReplicationStats(ctx, objectAPI)
    	globalReplicationPool.Set(NewReplicationPool(ctx, objectAPI, globalAPIConfig.getReplicationOpts(), stats))
    	globalReplicationStats.Store(stats)
    	go stats.trackEWMA()
    }
    
    type proxyResult struct {
    	Proxy bool
    	Err   error
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top