mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
eth/downloader: log progress in periodic only
This commit is contained in:
parent
074d7b79c1
commit
01425ad14b
1 changed files with 1 additions and 1 deletions
|
|
@ -1104,7 +1104,7 @@ func (s *skeleton) processResponse(res *headerResponse) (linked bool, merged boo
|
||||||
if linked {
|
if linked {
|
||||||
left = 0
|
left = 0
|
||||||
}
|
}
|
||||||
if time.Since(s.logged) > 8*time.Second || left == 0 {
|
if time.Since(s.logged) > 8*time.Second {
|
||||||
s.logged = time.Now()
|
s.logged = time.Now()
|
||||||
|
|
||||||
if s.pulled == 0 {
|
if s.pulled == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue