Skip to content

Commit

Permalink
Fix to prevent timeouts in GitHub actions (#1554)
Browse files Browse the repository at this point in the history
* Fix to prevent timeouts in GitHub actions

Signed-off-by: Dave Lago <davelago@amazon.com>
  • Loading branch information
Dave Lago authored Jan 5, 2022
1 parent 63558a1 commit 07be53e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- '*'

env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- main
- opendistro-*

env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3

jobs:
build:
name: build
Expand Down

0 comments on commit 07be53e

Please sign in to comment.