Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sendUpdate (1.03 sec)

  1. cmd/data-scanner.go

    	s.newCache.Info.LastUpdate = UTCNow()
    	s.newCache.Info.NextCycle = cache.Info.NextCycle
    	return s.newCache, nil
    }
    
    // sendUpdate() should be called on a regular basis when the newCache contains more recent total than previously.
    // May or may not send an update upstream.
    func (f *folderScanner) sendUpdate() {
    	// Send at most an update every minute.
    	if f.updates == nil || time.Since(f.lastUpdate) < time.Minute {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
Back to top