Skip to content

Commit 686875b

Browse files
committed
Increase connection timeouts.
1 parent cff6495 commit 686875b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private String getMavenSetup() {
307307
<server>
308308
<id>indy-mvn</id>
309309
<configuration>
310-
<connectionTimeout>60000</connectionTimeout>
310+
<connectionTimeout>120000</connectionTimeout>
311311
<httpHeaders>
312312
<property>
313313
<name>Authorization</name>
@@ -371,10 +371,10 @@ private String getGradleSetup() {
371371
org.gradle.console=plain
372372
373373
# Increase timeouts
374-
systemProp.org.gradle.internal.http.connectionTimeout=600000
375-
systemProp.org.gradle.internal.http.socketTimeout=600000
376-
systemProp.http.socketTimeout=600000
377-
systemProp.http.connectionTimeout=600000
374+
systemProp.org.gradle.internal.http.connectionTimeout=1200000
375+
systemProp.org.gradle.internal.http.socketTimeout=1200000
376+
systemProp.http.socketTimeout=1200000
377+
systemProp.http.connectionTimeout=1200000
378378
379379
# Settings for <https://github.com/vanniktech/gradle-maven-publish-plugin>
380380
RELEASE_REPOSITORY_URL=file://${JBS_WORKDIR}/artifacts

0 commit comments

Comments
 (0)