Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLastUpdate (0.07 sec)

  1. cmd/global-heal.go

    	defer func() {
    		close(results)
    		<-quitting
    	}()
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    				if time.Since(tracker.getLastUpdate()) > time.Minute {
    					healingLogIf(ctx, tracker.update(ctx))
    				}
    				continue
    			}
    
    			tracker.updateProgress(res.success, res.skipped, res.bytes)
    		}
    
    		healingLogIf(ctx, tracker.update(ctx))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    	h.ResumeBytesDone = 0
    	h.ResumeBytesFailed = 0
    	h.ItemsSkipped = 0
    	h.BytesSkipped = 0
    
    	h.HealedBuckets = nil
    	h.Object = ""
    	h.Bucket = ""
    }
    
    func (h *healingTracker) getLastUpdate() time.Time {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return h.LastUpdate
    }
    
    func (h *healingTracker) getBucket() string {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return h.Bucket
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top