MAX_AVG_RESPONSE_TIME reduced to 500, as one peer regularly takes around 600ms to reply.

This commit is contained in:
CalDescent 2022-02-11 18:12:34 +00:00
parent 8ac298e07d
commit 19c83cc54d

View File

@ -39,7 +39,7 @@ public class ElectrumX extends BitcoinyBlockchainProvider {
private static final String VERBOSE_TRANSACTIONS_UNSUPPORTED_MESSAGE = "verbose transactions are currently unsupported";
private static final int RESPONSE_TIME_READINGS = 5;
private static final long MAX_AVG_RESPONSE_TIME = 1000L; // ms
private static final long MAX_AVG_RESPONSE_TIME = 500L; // ms
public static class Server {
String hostname;