allow higher timeout on history fetch
This commit is contained in:
parent
4d367d5232
commit
1cc8c53242
|
@ -194,7 +194,9 @@ export async function requestHistoricalTimes(day, canvasId) {
|
|||
try {
|
||||
const date = dateToString(day);
|
||||
const url = `history?day=${date}&id=${canvasId}`;
|
||||
const response = await fetchWithTimeout(url);
|
||||
const response = await fetchWithTimeout(url, {
|
||||
timeout: 45000,
|
||||
});
|
||||
if (response.status !== 200) {
|
||||
return [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue