Browse Source

Merge bug fixes from branch 'release-1.6'

pull/1757/merge
beorn7 8 years ago
parent
commit
e499ef8cac
  1. 2
      storage/local/storage.go

2
storage/local/storage.go

@ -1341,7 +1341,7 @@ func (s *MemorySeriesStorage) cycleThroughMemoryFingerprints() chan model.Finger
} }
begin := time.Now() begin := time.Now()
fps := s.fpToSeries.sortedFPs() fps := s.fpToSeries.sortedFPs()
if firstPass { if firstPass && len(fps) > 0 {
// Start first pass at a random location in the // Start first pass at a random location in the
// key space to cover the whole key space even // key space to cover the whole key space even
// in the case of frequent restarts. // in the case of frequent restarts.

Loading…
Cancel
Save