You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/28 12:26:46 UTC

[camel] 02/02: Implement the connection timeout work-around suggested to avoid connection timeout in gh action for master-push-build.yml

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 484988cd9dd429c08cc43f052eebc62cf1bd79aa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 28 14:26:12 2020 +0200

    Implement the connection timeout work-around suggested to avoid connection timeout in gh action for master-push-build.yml
---
 .github/workflows/master-push-build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml
index d1156b8..dff1447 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -40,7 +40,7 @@ jobs:
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2
       - name: mvn sourcecheck
-        run: ./mvnw -V --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify
+        run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify
       - name: Create Pull Request
         uses: peter-evans/create-pull-request@v3
         with:
@@ -57,4 +57,4 @@ jobs:
           labels: |
             regen
             automated pr
-          assignees: oscerd
\ No newline at end of file
+          assignees: oscerd