Skip to content

Commit

Permalink
debug: add debug info on v0.2.2-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
krish-nr committed Jan 17, 2024
1 parent a6996ab commit 3188067
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eth/downloader/fetchers_concurrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,11 @@ func (d *Downloader) concurrentFetch(queue typedQueue, beaconMode bool) error {
// Make sure that we have peers available for fetching. If all peers have been tried
// and all failed throw an error
if !progressed && !throttled && len(pending) == 0 && len(idles) == d.peers.Len() && queued > 0 && !beaconMode {
log.Warn("Krish debug: all peers invalid")
return errPeersUnavailable
}

log.Warn("Krish debug: stuck here, all peers invalid for request")
}
// Wait for something to happen
select {
Expand Down

0 comments on commit 3188067

Please sign in to comment.