MAXIMUM_RETRIES set to 2, as 3 retries may have been slightly too many.

This commit is contained in:
CalDescent 2021-04-26 17:08:21 +01:00
parent 0c0c5ff077
commit b37f2c7d7f

View File

@ -56,7 +56,7 @@ public class Synchronizer {
private static final int MAXIMUM_REQUEST_SIZE = 200; // XXX move to Settings?
/** Number of retry attempts if a peer fails to respond with the requested data */
private static final int MAXIMUM_RETRIES = 3; // XXX move to Settings?
private static final int MAXIMUM_RETRIES = 2; // XXX move to Settings?
private static Synchronizer instance;