hel il y a 1 an
Parent
commit
37aac20ae2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/utils/index.ts

+ 1 - 1
src/utils/index.ts

@@ -66,7 +66,7 @@ export async function forEachAsync<T = any>(
   array: T[],
   concurrency: number,
   asyncFn: (item: any, index: number) => Promise<void>,
-  timeout: number = 320000,
+  timeout: number = 240000,
 ) {
   let running = 0 // 当前正在运行的任务数
   let completed = 0 // 完成的任务数