Skip to content

Commit

Permalink
Update RadarNexusClient.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpatrick authored Oct 23, 2024
1 parent 2627962 commit 2a9abc6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -139,4 +139,4 @@ class RadarNexusClient extends NexusClient {
}
}

}
}

0 comments on commit 2a9abc6

Please sign in to comment.