wallet-core: long-poll longer for reserve status
This commit is contained in:
parent
609a9cb1d5
commit
9dfef2100d
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user