[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core: request reserve
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core: request reserve status with long poll timeout |
Date: |
Thu, 14 Apr 2022 23:06:52 +0200 |
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 098d1eb7 wallet-core: request reserve status with long poll timeout
098d1eb7 is described below
commit 098d1eb7ebfcd2d4b460758772d42367a61dc5b2
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Apr 14 23:06:35 2022 +0200
wallet-core: request reserve status with long poll timeout
---
packages/taler-wallet-core/src/operations/reserves.ts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/reserves.ts
b/packages/taler-wallet-core/src/operations/reserves.ts
index 91c19fbf..8d891213 100644
--- a/packages/taler-wallet-core/src/operations/reserves.ts
+++ b/packages/taler-wallet-core/src/operations/reserves.ts
@@ -539,8 +539,11 @@ async function updateReserve(
return { ready: true };
}
+ const reserveUrl = new URL(`reserves/${reservePub}`,
reserve.exchangeBaseUrl);
+ reserveUrl.searchParams.set("timeout_ms", "200");
+
const resp = await ws.http.get(
- new URL(`reserves/${reservePub}`, reserve.exchangeBaseUrl).href,
+ reserveUrl.href,
{
timeout: getReserveRequestTimeout(reserve),
},
--
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: request reserve status with long poll timeout,
gnunet <=