Skip to content

Commit

Permalink
Backport PR #14283 to 7.17: Increase Gradle network timeouts to incr…
Browse files Browse the repository at this point in the history
…ement resiliency on network issues #14287

When an external repository reaches IO error or generates network timeouts the build fails in resolving external dependencies (plugins or libraries used by the project).
This commits increase a little bit those limits.

(cherry picked from commit 080c2f6)

Co-authored-by: Andrea Selva <[email protected]>
  • Loading branch information
github-actions[bot] and andsel authored Jun 21, 2022
1 parent 30f020f commit 81f5b1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
org.gradle.daemon=false

## from default 30 secs to 2 minutes network timeouts
systemProp.org.gradle.internal.http.connectionTimeout=120000
systemProp.org.gradle.internal.http.socketTimeout=120000
systemProp.org.gradle.internal.http.idleConnectionTimeout=120000
1 change: 0 additions & 1 deletion logstash-core/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
isDistributedArtifact=true

0 comments on commit 81f5b1f

Please sign in to comment.