Browse Source

Bump Peer response timeout from 3s to 4s

sync-multiple-blocks
CalDescent 4 years ago
parent
commit
cb80280eaf
  1. 2
      src/main/java/org/qortal/network/Peer.java

2
src/main/java/org/qortal/network/Peer.java

@ -46,7 +46,7 @@ public class Peer {
private static final int CONNECT_TIMEOUT = 2000; // ms private static final int CONNECT_TIMEOUT = 2000; // ms
/** Maximum time to wait for a message reply to arrive from peer. (ms) */ /** Maximum time to wait for a message reply to arrive from peer. (ms) */
private static final int RESPONSE_TIMEOUT = 3000; // ms private static final int RESPONSE_TIMEOUT = 4000; // ms
/** /**
* Interval between PING messages to a peer. (ms) * Interval between PING messages to a peer. (ms)

Loading…
Cancel
Save