Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for objectMaxVersions (0.17 sec)

  1. cmd/handler-api.go

    	t.deleteCleanupInterval = cfg.DeleteCleanupInterval
    	t.enableODirect = cfg.EnableODirect
    	t.gzipObjects = cfg.GzipObjects
    	t.rootAccess = cfg.RootAccess
    	t.syncEvents = cfg.SyncEvents
    	t.objectMaxVersions = cfg.ObjectMaxVersions
    
    	if t.staleUploadsCleanupInterval != cfg.StaleUploadsCleanupInterval {
    		t.staleUploadsCleanupInterval = cfg.StaleUploadsCleanupInterval
    
    		// signal that cleanup interval has changed
    		select {
    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. internal/config/api/api.go

    		if err != nil {
    			return cfg, err
    		}
    		if maxVersions <= 0 {
    			return cfg, fmt.Errorf("invalid object max versions value: %v", maxVersions)
    		}
    		cfg.ObjectMaxVersions = maxVersions
    	} else {
    		cfg.ObjectMaxVersions = math.MaxInt64
    	}
    
    	return cfg, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top