mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Update TTL params (WIP)
This commit is contained in:
parent
e66e49df61
commit
b7a6a9c555
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ public final class Offer implements StoragePayload, RequiresOwnerIsOnlinePayload
|
|||
private static final long serialVersionUID = Version.P2P_NETWORK_VERSION;
|
||||
@JsonExclude
|
||||
private static final Logger log = LoggerFactory.getLogger(Offer.class);
|
||||
public static final long TTL = TimeUnit.MINUTES.toMillis(DevFlags.STRESS_TEST_MODE ? 3 : 6);
|
||||
public static final long TTL = TimeUnit.MINUTES.toMillis(DevFlags.STRESS_TEST_MODE ? 6 : 6);
|
||||
public final static String TAC_OFFERER = "With placing that offer I agree to trade " +
|
||||
"with any trader who fulfills the conditions as defined above.";
|
||||
public static final String TAC_TAKER = "With taking that offer I agree to the trade conditions as defined above.";
|
||||
|
|
|
@ -68,8 +68,8 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
|||
|
||||
private static final long RETRY_REPUBLISH_DELAY_SEC = 10;
|
||||
private static final long REPUBLISH_AGAIN_AT_STARTUP_DELAY_SEC = 10;
|
||||
private static final long REPUBLISH_INTERVAL_MS = TimeUnit.MINUTES.toMillis(DevFlags.STRESS_TEST_MODE ? 6 : 12);
|
||||
private static final long REFRESH_INTERVAL_MS = TimeUnit.MINUTES.toMillis(DevFlags.STRESS_TEST_MODE ? 2 : 4);
|
||||
private static final long REPUBLISH_INTERVAL_MS = TimeUnit.MINUTES.toMillis(DevFlags.STRESS_TEST_MODE ? 12 : 12);
|
||||
private static final long REFRESH_INTERVAL_MS = TimeUnit.MINUTES.toMillis(DevFlags.STRESS_TEST_MODE ? 4 : 4);
|
||||
|
||||
private final KeyRing keyRing;
|
||||
private final User user;
|
||||
|
|
Loading…
Add table
Reference in a new issue