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.
This commit is contained in:
Andrea Selva 2022-06-21 15:01:08 +02:00 committed by GitHub
parent 989f9e7937
commit 080c2f6253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -1,2 +1 @@
isDistributedArtifact=true