Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for worthKeeping (0.08 seconds)

  1. cmd/metacache-bucket.go

    	// Entries to remove.
    	remove := make(map[string]struct{})
    
    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    		if !cache.worthKeeping() {
    			b.debugf("cache %s not worth keeping", id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.id != id {
    			logger.Info("cache ID mismatch %s != %s", id, cache.id)
    			remove[id] = struct{}{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top