forked from Qortal/qortal
Increased ARBITRARY_RELAY_TIMEOUT from 30 to 60 seconds, so that relay peers remember their mappings for longer.
This commit is contained in:
parent
8ccb158241
commit
710befec0c
@ -41,7 +41,7 @@ public class ArbitraryDataManager extends Thread {
|
|||||||
public static final long ARBITRARY_REQUEST_TIMEOUT = 10 * 1000L; // ms
|
public static final long ARBITRARY_REQUEST_TIMEOUT = 10 * 1000L; // ms
|
||||||
|
|
||||||
/** Maximum time to hold information about an in-progress relay */
|
/** Maximum time to hold information about an in-progress relay */
|
||||||
public static final long ARBITRARY_RELAY_TIMEOUT = 30 * 1000L; // ms
|
public static final long ARBITRARY_RELAY_TIMEOUT = 60 * 1000L; // ms
|
||||||
|
|
||||||
/** Maximum number of hops that an arbitrary signatures request is allowed to make */
|
/** Maximum number of hops that an arbitrary signatures request is allowed to make */
|
||||||
private static int ARBITRARY_SIGNATURES_REQUEST_MAX_HOPS = 3;
|
private static int ARBITRARY_SIGNATURES_REQUEST_MAX_HOPS = 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user