Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getExpirationWorkers (0.23 sec)

  1. cmd/ilm-config.go

    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()
    
    	return c.cfg.ExpirationWorkers
    }
    
    func (c *ilmConfig) getTransitionWorkers() int {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Mar 05 02:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    			}
    		}
    	}
    }
    
    func initBackgroundExpiry(ctx context.Context, objectAPI ObjectLayer) {
    	globalExpiryState = newExpiryState(ctx, objectAPI, globalILMConfig.getExpirationWorkers())
    }
    
    type noncurrentVersionsTask struct {
    	bucket   string
    	versions []ObjectToDelete
    	events   []lifecycle.Event
    }
    
    type transitionTask struct {
    	objInfo ObjectInfo
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top