Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lastHandout (0.06 sec)

  1. cmd/metacache_test.go

    		fileNotFound: false,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    		ended:        metaCacheTestsetTimestamp.Add(time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp,
    		dataVersion:  metacacheStreamVersion,
    	},
    	1: {
    		id:           "case-2-recursive",
    		bucket:       "bucket",
    		root:         "folder/prefix",
    		recursive:    true,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  2. cmd/metacache-bucket.go

    			// Sort oldest last...
    			sort.Slice(remainCaches, func(i, j int) bool {
    				return remainCaches[i].lastHandout.Before(remainCaches[j].lastHandout)
    			})
    			// Keep first metacacheMaxEntries...
    			for _, cache := range remainCaches[metacacheMaxEntries:] {
    				if time.Since(cache.lastHandout) > metacacheMaxClientWait {
    					remove[cache.id] = struct{}{}
    				}
    			}
    		}
    	}
    
    	for id := range remove {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. cmd/metacache.go

    func (m *metacache) update(update metacache) {
    	now := UTCNow()
    	m.lastUpdate = now
    
    	if update.lastHandout.After(m.lastHandout) {
    		m.lastHandout = update.lastUpdate
    		if m.lastHandout.After(now) {
    			m.lastHandout = now
    		}
    	}
    	if m.status == scanStateStarted && update.status == scanStateSuccess {
    		m.ended = now
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/metacache_gen.go

    				return
    			}
    		case "st":
    			z.started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "started")
    				return
    			}
    		case "lh":
    			z.lastHandout, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastHandout")
    				return
    			}
    		case "u":
    			z.lastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastUpdate")
    				return
    			}
    		case "b":
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    			meta := *mc.meta
    			meta, err = o.updateMetacacheListing(meta, rpc)
    			if err == nil && time.Since(meta.lastHandout) > metacacheMaxClientWait {
    				cancel()
    				exit = true
    				meta.status = scanStateError
    				meta.error = fmt.Sprintf("listing canceled since time since last handout was %v ago", time.Since(meta.lastHandout).Round(time.Second))
    				o.debugln(color.Green("saveMetaCacheStream: ") + meta.error)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top