Skip to content

Commit 5cdb476

Browse files
authored
"Downloader queue stats" is now provided once per minute (#21455)
* "Downloader queue stats" is now a DEBUG information I think this info is more a DEBUG related information then an INFO. If it must remains an INFO, maybe it can be slow down to one time every 5 minutes or so. * Update queue.go "Downloader queue stats" information is now provided once every minute instead of once every 10 seconds.
1 parent ff23e26 commit 5cdb476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/downloader/queue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ func (q *queue) Results(block bool) []*fetchResult {
382382
throttleThreshold = q.resultCache.SetThrottleThreshold(throttleThreshold)
383383

384384
// Log some info at certain times
385-
if time.Since(q.lastStatLog) > 10*time.Second {
385+
if time.Since(q.lastStatLog) > 60*time.Second {
386386
q.lastStatLog = time.Now()
387387
info := q.Stats()
388388
info = append(info, "throttle", throttleThreshold)

0 commit comments

Comments
 (0)