Skip to content

Commit

Permalink
Add concurrency level to postDownloads
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Feb 21, 2024
1 parent ec399e4 commit dab6dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/CompileTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit dab6dff

Please sign in to comment.