Faster downloading grib files

This commit is contained in:
Guntis Smaukstelis
2025-07-11 11:12:06 +03:00
parent 26b31007bf
commit d621c2c89a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ async function processPromises<T>(
export async function processPromisesInBatches<T>(
promiseFns: (() => Promise<T>)[],
onProgress: (result: T) => void,
batchSize = 3,
batchSize = 10,
): Promise<(T | undefined)[]> {
const results = []
while(await promiseFns.length > 0) {