summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-07-24 14:18:14 +0200
committerFlorian Dold <florian@dold.me>2023-07-24 14:18:14 +0200
commit0b606028339d8256643ce60f11e72a090a301b58 (patch)
tree1407be01305430d2db1889bb6a8be0b6bbaf470d /packages/taler-wallet-core/src/wallet.ts
parent9c17b7cd92c7c016097b64335076edd63893138b (diff)
downloadwallet-core-0b606028339d8256643ce60f11e72a090a301b58.tar.gz
wallet-core-0b606028339d8256643ce60f11e72a090a301b58.tar.bz2
wallet-core-0b606028339d8256643ce60f11e72a090a301b58.zip
wallet-core: task loop logging
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index e457ba003..628a55e92 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -438,6 +438,10 @@ async function runTaskLoop(
numDue++;
}
+ logger.info(
+ `running task loop, iter=${iteration}, #tasks=${pending.pendingOperations.length} #lifeness=${numGivingLiveness}, #due=${numDue}`,
+ );
+
if (opts.stopWhenDone && numGivingLiveness === 0 && iteration !== 0) {
logger.warn(`stopping, as no pending operations have lifeness`);
ws.isTaskLoopRunning = false;