Skip to content

Commit

Permalink
rightsizing connections to speed up xctest process (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
herval authored Nov 21, 2024
1 parent 5786590 commit 0b9fcc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class XCTestDriverClient(
}

private val okHttpClient = OkHttpClient.Builder()
.connectTimeout(40, TimeUnit.SECONDS)
.readTimeout(100, TimeUnit.SECONDS)
.connectTimeout(1, TimeUnit.SECONDS)
.readTimeout(200, TimeUnit.SECONDS)
.apply {
httpInterceptor?.let {
this.addInterceptor(it)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class LocalXCTestInstaller(
.build()

val okHttpClient = OkHttpClient.Builder()
.connectTimeout(40, TimeUnit.SECONDS)
.connectTimeout(1, TimeUnit.SECONDS)
.readTimeout(100, TimeUnit.SECONDS)
.build()

Expand Down

0 comments on commit 0b9fcc1

Please sign in to comment.