kwin commented on issue #2366:
URL: 
https://github.com/apache/maven-resolver/issues/2366#issuecomment-7238227636

   According to GPT 6 Luna:
   
   > Parallel downloads are implemented in the basic connector, per remote 
repository:
   > 
   > BasicRepositoryConnector.getExecutor creates a downstream executor when 
there’s more than one download task. get submits download tasks to it (line 
270) and waits for them to finish.
   The limit is aether.connector.basic.downstreamThreads, default 5; it can 
also be set per repo ID. See BasicRepositoryConnectorConfigurationKeys and its 
use in the connector constructor (lines 166–168).
   However, DefaultArtifactResolver iterates repository groups and calls 
performDownloads sequentially. So this parallelism is for multiple files from 
one repository, not downloading the same artifact from multiple remote 
repositories at once.
   
   However I am wondering why the order for downloading metadata differs from 
the order for downloading artifacts and why the log still exposes multiple 
remote repos being requested in parallel...


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to