Skip to content

Commit 080c2f6

Browse files
authored
Increase Gradle network timeouts to increment resiliency on network issues (#14283)
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.
1 parent 989f9e7 commit 080c2f6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gradle.properties

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
22
org.gradle.daemon=false
3+
4+
## from default 30 secs to 2 minutes network timeouts
5+
systemProp.org.gradle.internal.http.connectionTimeout=120000
6+
systemProp.org.gradle.internal.http.socketTimeout=120000
7+
systemProp.org.gradle.internal.http.idleConnectionTimeout=120000

logstash-core/gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
isDistributedArtifact=true
2-

0 commit comments

Comments
 (0)