Tweak Maven wagon settings to try to prevent connection timeouts downloading dependencies on GA (#15504)

Closes #15503
This commit is contained in:
Stian Thorgersen
2022-11-18 12:07:20 +01:00
committed by GitHub
parent ed4e91b380
commit 044ce8d773
6 changed files with 12 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
jobs:
analyze:
name: CodeQL analyze