diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/reserves.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/reserves.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/reserves.ts b/packages/taler-wallet-core/src/operations/reserves.ts index 91c19fbf0..8d8912130 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), }, |