diff options
author | Florian Dold <florian@dold.me> | 2024-05-27 21:19:44 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-05-27 21:19:47 +0200 |
commit | bce10929f3b51fa965ff57b61bea0cbb84426da4 (patch) | |
tree | 7f910e7f5339525ddc399535cbb0af86039eac16 /packages/taler-wallet-cli | |
parent | 1623cb3656c6ffb8b4def8e038fc456fdfe21a96 (diff) | |
download | wallet-core-bce10929f3b51fa965ff57b61bea0cbb84426da4.tar.xz |
wallet-core: test-only request to reset all retries
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index a1b008f5e..5bde7db01 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -1231,6 +1231,16 @@ advancedCli }); advancedCli + .subcommand("resetAllRetries", "reset-all-retries", { + help: "Reset all retry counters.", + }) + .action(async (args) => { + await withWallet(args, { lazyTaskLoop: true }, async (wallet) => { + await wallet.client.call(WalletApiOperation.TestingResetAllRetries, {}); + }); + }); + +advancedCli .subcommand("tasks", "tasks", { help: "Show active wallet-core tasks.", }) |