Skip to content

Commit

Permalink
Merge pull request #1859 from codefori/feature/concurrency_for_post_d…
Browse files Browse the repository at this point in the history
…ownload

Add concurrency level to postDownloads
  • Loading branch information
sebjulliand authored Feb 23, 2024
2 parents cb248a1 + dab6dff commit 6b16dda
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 6b16dda

Please sign in to comment.