mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
lib/promscrape: remove debug line left after the commit e4aac6ea40
This commit is contained in:
parent
1f0e8fdc0d
commit
a5880f17af
1 changed files with 0 additions and 1 deletions
|
@ -131,7 +131,6 @@ func (sw *scrapeWork) run(stopCh <-chan struct{}) {
|
|||
h := uint32(xxhash.Sum64([]byte(key)))
|
||||
randSleep := uint64(float64(scrapeInterval) * (float64(h) / (1 << 32)))
|
||||
sleepOffset := uint64(time.Now().UnixNano()) % uint64(scrapeInterval)
|
||||
logger.Infof("randsleep=%d, sleepOffset=%d", randSleep, sleepOffset)
|
||||
if randSleep < sleepOffset {
|
||||
randSleep += uint64(scrapeInterval)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue