mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 13:41:50 +02:00
Make the request one by one to avoid "net::ERR_INSUFFICIENT_RESOURCES" errors
This commit is contained in:
parent
f491488863
commit
35fbb41638
@ -3,7 +3,11 @@ async function loadAllData() {
|
||||
abs: [],
|
||||
fluo: [],
|
||||
};
|
||||
dic.abs = await Promise.all(getAbsFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion)))
|
||||
dic.fluo = await Promise.all(getFluoFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence)))
|
||||
for (const f of getAbsFilesName()) {
|
||||
dic.abs.push(await VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion))
|
||||
}
|
||||
for (const f of getFluoFilesName()) {
|
||||
dic.fluo.push(await VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence))
|
||||
}
|
||||
return dic;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user