wallet-core: long-poll longer for reserve status

This commit is contained in:
Florian Dold 2022-05-19 13:30:04 +02:00
parent 609a9cb1d5
commit 9dfef2100d
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -538,7 +538,7 @@ async function updateReserve(
} }
const reserveUrl = new URL(`reserves/${reservePub}`, reserve.exchangeBaseUrl); const reserveUrl = new URL(`reserves/${reservePub}`, reserve.exchangeBaseUrl);
reserveUrl.searchParams.set("timeout_ms", "200"); reserveUrl.searchParams.set("timeout_ms", "1000");
const resp = await ws.http.get(reserveUrl.href, { const resp = await ws.http.get(reserveUrl.href, {
timeout: getReserveRequestTimeout(reserve), timeout: getReserveRequestTimeout(reserve),