mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Use throwOnTimeout option for PQueue
This commit is contained in:
@@ -649,6 +649,7 @@ export async function _waitForAll<T>({
|
||||
const queue = new PQueue({
|
||||
concurrency: maxConcurrency,
|
||||
timeout: 2 * 60 * 1000,
|
||||
throwOnTimeout: true,
|
||||
});
|
||||
return queue.addAll(tasks);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user