This is an automated email from the ASF dual-hosted git repository.
markap14 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new a13c2cf010 NIFI-11257 Enable Maven HTTP pooling and additional retries
(#7020)
a13c2cf010 is described below
commit a13c2cf010c4e12ee266ca5fbc45b485813e9c09
Author: exceptionfactory <[email protected]>
AuthorDate: Wed Mar 8 10:36:40 2023 -0600
NIFI-11257 Enable Maven HTTP pooling and additional retries (#7020)
* NIFI-11257 Enabled Maven HTTP pooling and additional retries
- Enabled HTTP connection pooling for Maven Wagon
- Configured 30 second timeout for HTTP pooled connection lifespan
- Enabled 5 retries for HTTP connections
- Set maximum connection per route to 5 instead of 20
- Enabled retry for sent HTTP requests
---
.github/workflows/ci-workflow.yml | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci-workflow.yml
b/.github/workflows/ci-workflow.yml
index 8ca441c758..d6d692a927 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -23,12 +23,18 @@ env:
-XX:ReservedCodeCacheSize=1g
-XX:+UseG1GC
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN
- -Dhttp.keepAlive=false
- -Dmaven.wagon.http.pool=false
+ -Dmaven.wagon.http.retryHandler.class=standard
+ -Dmaven.wagon.http.retryHandler.count=5
+ -Dmaven.wagon.http.retryHandler.requestSentEnabled=true
+ -Dmaven.wagon.httpconnectionManager.maxPerRoute=5
+ -Dmaven.wagon.httpconnectionManager.ttlSeconds=30
COMPILE_MAVEN_OPTS: >-
-Xmx3g
- -Dhttp.keepAlive=false
- -Dmaven.wagon.http.pool=false
+ -Dmaven.wagon.http.retryHandler.class=standard
+ -Dmaven.wagon.http.retryHandler.count=5
+ -Dmaven.wagon.http.retryHandler.requestSentEnabled=true
+ -Dmaven.wagon.httpconnectionManager.maxPerRoute=5
+ -Dmaven.wagon.httpconnectionManager.ttlSeconds=30
MAVEN_COMPILE_COMMAND: >-
mvn test-compile
--show-version