Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for transition_workers (0.14 sec)

  1. internal/config/ilm/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ilm
    
    import "github.com/minio/minio/internal/config"
    
    const (
    	transitionWorkers = "transition_workers"
    	expirationWorkers = "expiration_workers"
    	// EnvILMTransitionWorkers env variable to configure number of transition workers
    	EnvILMTransitionWorkers = "MINIO_ILM_TRANSITION_WORKERS"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/config/api/api.go

    	}
    
    	cfg.ReplicationMaxLWorkers = replicationMaxLWorkers
    
    	transitionWorkers, err := strconv.Atoi(env.Get(EnvAPITransitionWorkers, kvs.GetWithDefault(apiTransitionWorkers, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    	cfg.TransitionWorkers = transitionWorkers
    
    	v := env.Get(EnvAPIDeleteCleanupInterval, kvs.Get(apiDeleteCleanupInterval))
    	if v == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    	t.replicationMaxWorkers = cfg.ReplicationMaxWorkers
    	t.replicationMaxLWorkers = cfg.ReplicationMaxLWorkers
    
    	// N B api.transition_workers will be deprecated
    	if globalTransitionState != nil {
    		globalTransitionState.UpdateWorkers(cfg.TransitionWorkers)
    	}
    	t.transitionWorkers = cfg.TransitionWorkers
    
    	t.staleUploadsExpiry = cfg.StaleUploadsExpiry
    	t.deleteCleanupInterval = cfg.DeleteCleanupInterval
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/config/README.md

    replication_priority            (string)    set replication priority (default: 'auto')
    replication_max_workers         (number)    set the maximum number of replication workers (default: '500')
    transition_workers              (number)    set the number of transition workers (default: '100')
    stale_uploads_expiry            (duration)  set to expire stale multipart uploads older than this values (default: '24h')
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    // of transition workers.
    func (t *transitionState) Init(objAPI ObjectLayer) {
    	n := globalAPIConfig.getTransitionWorkers()
    	// Prefer ilm.transition_workers over now deprecated api.transition_workers
    	if tw := globalILMConfig.getTransitionWorkers(); tw > 0 {
    		n = tw
    	}
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	t.objAPI = objAPI
    	t.updateWorkers(n)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    l","value":""}]},"identity_plugin":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""},{"key":"role_policy","value":""},{"key":"role_id","value":""}]},"identity_tls":{"_":[{"key":"skip_verify","value":"off"}]},"ilm":{"_":[{"key":"transition_workers","value":"100"},{"key":"expiration_workers","value":"100"}]},"lambda_webhook":{"_":[{"key":"enable","value":"off"},{"key":"endpoint","value":""},{"key":"auth_token","value":""},{"key":"client_cert","value":""},{"key":"client_key","value":""...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
  7. internal/config/ilm/ilm.go

    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   transitionWorkers,
    		Value: "100",
    	},
    	config.KV{
    		Key:   expirationWorkers,
    		Value: "100",
    	},
    }
    
    // Config represents the different configuration values for ILM subsystem
    type Config struct {
    	TransitionWorkers int
    	ExpirationWorkers int
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. cmd/ilm-config.go

    package cmd
    
    import (
    	"sync"
    
    	"github.com/minio/minio/internal/config/ilm"
    )
    
    var globalILMConfig = ilmConfig{
    	cfg: ilm.Config{
    		ExpirationWorkers: 100,
    		TransitionWorkers: 100,
    	},
    }
    
    type ilmConfig struct {
    	mu  sync.RWMutex
    	cfg ilm.Config
    }
    
    func (c *ilmConfig) getExpirationWorkers() int {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 05 02:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. cmd/config-current.go

    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply ilm config: %w", err))
    		} else {
    			if globalTransitionState != nil {
    				globalTransitionState.UpdateWorkers(ilmCfg.TransitionWorkers)
    			}
    			if globalExpiryState != nil {
    				globalExpiryState.ResizeWorkers(ilmCfg.ExpirationWorkers)
    			}
    			globalILMConfig.update(ilmCfg)
    		}
    	}
    	globalServerConfigMu.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top