From dab6dff7b9c87b23b29eb129c472021d6e356575 Mon Sep 17 00:00:00 2001 From: worksofliam Date: Wed, 21 Feb 2024 15:41:09 -0500 Subject: [PATCH] Add concurrency level to postDownloads Signed-off-by: worksofliam --- src/api/CompileTools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/CompileTools.ts b/src/api/CompileTools.ts index 3c3760190..80d4379ec 100644 --- a/src/api/CompileTools.ts +++ b/src/api/CompileTools.ts @@ -430,7 +430,7 @@ export namespace CompileTools { const downloads = postDownloads.map( async (postDownload) => { if (postDownload.type === vscode.FileType.Directory) { - return connection.downloadDirectory(postDownload.localPath, postDownload.remotePath, { recursive: true }); + return connection.downloadDirectory(postDownload.localPath, postDownload.remotePath, { recursive: true, concurrency: 5 }); } else { return connection.downloadFile(postDownload.localPath, postDownload.remotePath); }