mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-18 11:18:36 -04:00
add balance to xmr balances
reduce trade api rate limiting offer is set to available
This commit is contained in:
parent
f08c2036a7
commit
469c47b0c7
7 changed files with 24 additions and 13 deletions
|
@ -173,7 +173,7 @@ class GrpcTradesService extends TradesImplBase {
|
|||
return getCustomRateMeteringInterceptor(coreApi.getConfig().appDataDir, this.getClass())
|
||||
.or(() -> Optional.of(CallRateMeteringInterceptor.valueOf(
|
||||
new HashMap<>() {{
|
||||
put(getGetTradeMethod().getFullMethodName(), new GrpcCallRateMeter(1, SECONDS));
|
||||
put(getGetTradeMethod().getFullMethodName(), new GrpcCallRateMeter(3, SECONDS));
|
||||
put(getTakeOfferMethod().getFullMethodName(), new GrpcCallRateMeter(1, SECONDS));
|
||||
put(getConfirmPaymentStartedMethod().getFullMethodName(), new GrpcCallRateMeter(1, SECONDS));
|
||||
put(getConfirmPaymentReceivedMethod().getFullMethodName(), new GrpcCallRateMeter(1, SECONDS));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue