Bump Peer response timeout from 3s to 4s

This commit is contained in:
CalDescent 2021-03-28 14:47:57 +01:00
parent f22f954ae3
commit cb80280eaf

View File

@ -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)