Skip to content

Commit f6094de

Browse files
authored
Test Wagon Changes to Determine Install Performance (#22082)
Wagon Changes to Improve Install Performance
1 parent fe32bd8 commit f6094de

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

eng/pipelines/templates/variables/globals.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ variables:
88
# Maven build/test options
99
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository
1010
# See https://github.com/actions/virtual-environments/issues/1499 for more info about the wagon options
11-
WagonOptions: '-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120'
11+
# If reports about Maven dependency downloads become more common investigate re-introducing "-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false", or other iterations of the configurations.
12+
WagonOptions: '-Dmaven.wagon.httpconnectionManager.ttlSeconds=60'
1213
DefaultOptions: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) --batch-mode --fail-at-end --settings eng/settings.xml $(WagonOptions)'
1314
LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1415
MemoryOptions: '-Xmx3072m'

0 commit comments

Comments
 (0)