aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-05 16:53:46 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-05 16:53:46 +0800
commit94e4aa6ea9aabb5bf6244d9b38607b336703af98 (patch)
tree3153cbffbfd48c25634f66bb09222f79ba7c640e /eth/downloader/downloader.go
parent067e66b34869402cf7bd0f352dad37bd4200e976 (diff)
downloaddexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.tar
dexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.tar.gz
dexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.tar.bz2
dexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.tar.lz
dexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.tar.xz
dexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.tar.zst
dexon-94e4aa6ea9aabb5bf6244d9b38607b336703af98.zip
eth/downloader: log hard timeouts and reset capacity
Diffstat (limited to 'eth/downloader/downloader.go')
-rw-r--r--eth/downloader/downloader.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index d8dbef726..626f47b7b 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -460,6 +460,7 @@ out:
// 3) Amount and availability.
if peer := d.peers.Peer(pid); peer != nil {
peer.Demote()
+ glog.V(logger.Detail).Infof("%s: block delivery timeout", peer)
}
}
// After removing bad peers make sure we actually have sufficient peer left to keep downloading