mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-01-23 21:21:20 -05:00
default wallet refresh rate of 5000 ms, wait less time after make offer
This commit is contained in:
parent
0862caae47
commit
6c8c494f9f
@ -173,7 +173,7 @@ const TestConfig = {
|
||||
disputeWinner: DisputeResult.Winner.SELLER,
|
||||
disputeReason: DisputeResult.Reason.PEER_WAS_LATE,
|
||||
disputeSummary: "Seller is winner",
|
||||
walletSyncPeriodMs: 7000, // TODO (woodser): auto adjust higher if using remote connection
|
||||
walletSyncPeriodMs: 5000,
|
||||
maxTimePeerNoticeMs: 5000,
|
||||
maxConcurrency: 14,
|
||||
stopOnFailure: true
|
||||
@ -1919,7 +1919,7 @@ async function executeTrade(ctx?: TradeContext): Promise<string> {
|
||||
ctx.offer = await makeOffer(ctx);
|
||||
expect(ctx.offer.getState()).toEqual("AVAILABLE");
|
||||
ctx.offerId = ctx.offer.getId();
|
||||
await wait(ctx.maxTimePeerNoticeMs! + ctx.walletSyncPeriodMs! * 2);
|
||||
await wait(ctx.maxTimePeerNoticeMs!);
|
||||
} else {
|
||||
ctx.offer = getOffer(await ctx.maker!.getMyOffers(ctx.assetCode!, ctx.direction), ctx.offerId!);
|
||||
if (!ctx.offer) {
|
||||
|
Loading…
Reference in New Issue
Block a user