> p2 set number of concurrent downloads for artifact repository
As this days I’m so much into P2, I figured out that wil be good to post some of the “hidden” features I could find. So here it comes the first one.
As a P2 repository author you are able to set up the number of threads P2 will use while downloading artifacts form your repository. By default the number of threads is 4, value that you can alter by setting the “eclipse.p2.max.threads” property of your artifact repository.
You do that by adding the following xml snipplet to artifact.xml:
<repository name="My fast repositoy" type="...simpleRepository" version="1"> ... <properties> <property name="eclipse.p2.max.threads" value="100" /> </properties> ... </repository>