| Summary: | SimpleArtifactRepository does not allow the user to limit the number of threads used for downloads | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Matthew Piggott <matthew> | ||||
| Component: | p2 | Assignee: | Matthew Piggott <matthew> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | irbull, pascal, tjwatson | ||||
| Version: | unspecified | Flags: | pascal:
review+
|
||||
| Target Milestone: | 3.6.1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Patch reviewed and committed in HEAD and 3.6.x. There was a problem with tagging HEAD and this won't appear in integration builds until the first build after 3.7 M2. |
Created attachment 169359 [details] Add user control for max threads Currently there isn't a way for the user to limit the number of concurrent downloads made by the SimpleArtifactRepository, however it is possible for the repository owner to limit the number of concurrent connections, really the user should have the same control. The attached patch uses the minimum of the user and repository settings, in the event they are not set the default value is considered. I've also written some tests for the getMaximumThreads method.