net: increase timeout for getdata. see #144.
This commit is contained in:
parent
23ca2cc65f
commit
161fe6e2a1
@ -1247,7 +1247,7 @@ Peer.prototype.addTimeout = function addTimeout(packet) {
|
||||
this.request(packetTypes.HEADERS, timeout * 2);
|
||||
break;
|
||||
case packetTypes.GETDATA:
|
||||
this.request(packetTypes.DATA, timeout);
|
||||
this.request(packetTypes.DATA, timeout * 2);
|
||||
break;
|
||||
case packetTypes.GETBLOCKTXN:
|
||||
this.request(packetTypes.BLOCKTXN, timeout);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user