forked from Qortal/qortal
MAX_AVG_RESPONSE_TIME reduced to 500, as one peer regularly takes around 600ms to reply.
This commit is contained in:
parent
8ac298e07d
commit
19c83cc54d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user