You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "michael-o (via GitHub)" <gi...@apache.org> on 2023/02/07 11:20:53 UTC

[GitHub] [maven-resolver] michael-o commented on a diff in pull request #240: [MRESOLVER-319] Parallel Deploy Support

michael-o commented on code in PR #240:
URL: https://github.com/apache/maven-resolver/pull/240#discussion_r1098527926


##########
maven-resolver-connector-basic/src/main/java/org/eclipse/aether/connector/basic/BasicRepositoryConnector.java:
##########
@@ -284,6 +289,9 @@ public void put( Collection<? extends ArtifactUpload> artifactUploads,
         Collection<? extends ArtifactUpload> safeArtifactUploads = safe( artifactUploads );
         Collection<? extends MetadataUpload> safeMetadataUploads = safe( metadataUploads );
 
+        Executor executor = getExecutor( parallelPut ? safeArtifactUploads.size() + safeMetadataUploads.size() : 1 );

Review Comment:
   Shouldn't this ues the same `maxThreads` as download? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org