[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core: remove unnecessa
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core: remove unnecessary, way too short timeout |
Date: |
Sun, 25 Feb 2024 12:43:39 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 1ececa7be wallet-core: remove unnecessary, way too short timeout
1ececa7be is described below
commit 1ececa7be1b4f78b8e67903066dfb6825195e5ab
Author: Florian Dold <florian@dold.me>
AuthorDate: Sun Feb 25 12:43:32 2024 +0100
wallet-core: remove unnecessary, way too short timeout
---
packages/taler-wallet-core/src/pay-merchant.ts | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts
b/packages/taler-wallet-core/src/pay-merchant.ts
index adc8b42e9..aeb4661ce 100644
--- a/packages/taler-wallet-core/src/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -100,7 +100,6 @@ import {
import { PreviousPayCoins, selectPayCoinsNew } from "./coinSelection.js";
import {
constructTaskIdentifier,
- DbRetryInfo,
PendingTaskType,
spendCoins,
TaskIdentifiers,
@@ -512,16 +511,6 @@ async function failProposalPermanently(
notifyTransition(ws, transactionId, transitionInfo);
}
-function getProposalRequestTimeout(retryInfo?: DbRetryInfo): Duration {
- return Duration.clamp({
- lower: Duration.fromSpec({ seconds: 1 }),
- upper: Duration.fromSpec({ seconds: 60 }),
- value: retryInfo
- ? DbRetryInfo.getDuration(retryInfo)
- : Duration.fromSpec({}),
- });
-}
-
function getPayRequestTimeout(purchase: PurchaseRecord): Duration {
return Duration.multiply(
{ d_ms: 15000 },
@@ -663,7 +652,6 @@ async function processDownloadProposal(
const httpResponse = await ws.http.fetch(orderClaimUrl, {
method: "POST",
body: requestBody,
- timeout: getProposalRequestTimeout(retryRecord?.retryInfo),
cancellationToken,
});
const r = await readSuccessResponseJsonOrErrorCode(
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: wallet-core: remove unnecessary, way too short timeout,
gnunet <=