taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit c86291631071bf01c5da9162fad14c37bb391cca
parent 820d2895370b8c64a61d5d3277a35144abdfbdf4
Author: Özgür Kesim <oec@codeblau.de>
Date:   Thu,  1 May 2025 18:55:08 +0200

[wallet-core] reduce maxBatchSize to 64

Diffstat:
Mpackages/taler-wallet-core/src/pay-peer-pull-debit.ts | 2+-
Mpackages/taler-wallet-core/src/pay-peer-push-debit.ts | 2+-
Mpackages/taler-wallet-core/src/withdraw.ts | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/taler-wallet-core/src/pay-peer-pull-debit.ts b/packages/taler-wallet-core/src/pay-peer-pull-debit.ts @@ -502,7 +502,7 @@ async function processPeerPullDebitPendingDeposit( const coins = await queryCoinInfosForSelection(wex, coinSel); - const maxBatchSize = 100; + const maxBatchSize = 64; for (let i = 0; i < coins.length; i += maxBatchSize) { const batchSize = Math.min(maxBatchSize, coins.length - i); diff --git a/packages/taler-wallet-core/src/pay-peer-push-debit.ts b/packages/taler-wallet-core/src/pay-peer-push-debit.ts @@ -621,7 +621,7 @@ async function processPeerPushDebitCreateReserve( encryptContractRequest, ); - const maxBatchSize = 100; + const maxBatchSize = 64; const exchangeClient = walletExchangeClient(exchangeBaseUrl, wex); for (let i = 0; i < coins.length; i += maxBatchSize) { diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts @@ -2605,7 +2605,7 @@ async function processWithdrawalGroupPendingReady( await processPlanchetGenerate(wex, withdrawalGroup, i); } - const maxBatchSize = 100; + const maxBatchSize = 64; const exchangeVer = LibtoolVersion.parseVersion(exch.protocolVersionRange); if (!exchangeVer) {