From 2a9abc6541c4b806f2e59e9094f217873c291ffa Mon Sep 17 00:00:00 2001 From: Nick Patrick Date: Tue, 22 Oct 2024 21:21:20 -0400 Subject: [PATCH] Update RadarNexusClient.groovy --- .../groovy/io/radar/mvnpublish/RadarNexusClient.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/groovy/io/radar/mvnpublish/RadarNexusClient.groovy b/buildSrc/src/main/groovy/io/radar/mvnpublish/RadarNexusClient.groovy index e24cee97e..90d68743c 100644 --- a/buildSrc/src/main/groovy/io/radar/mvnpublish/RadarNexusClient.groovy +++ b/buildSrc/src/main/groovy/io/radar/mvnpublish/RadarNexusClient.groovy @@ -36,9 +36,9 @@ class RadarNexusClient extends NexusClient { RadarNexusClient(String username, String password) { super(BASE_URL, username, password, null, null) OkHttpClient.Builder httpClient = new OkHttpClient.Builder() - .writeTimeout(5, TimeUnit.MINUTES) - .readTimeout(5, TimeUnit.MINUTES) - .connectTimeout(5, TimeUnit.MINUTES) + .writeTimeout(30, TimeUnit.MINUTES) + .readTimeout(30, TimeUnit.MINUTES) + .connectTimeout(30, TimeUnit.MINUTES) .addInterceptor { chain -> String version = NexusClient.package.implementationVersion ?: 'dev' chain.proceed(chain.request().newBuilder() @@ -139,4 +139,4 @@ class RadarNexusClient extends NexusClient { } } -} \ No newline at end of file +}