Skip to content

Commit

Permalink
Remove read timeout for connection
Browse files Browse the repository at this point in the history
  • Loading branch information
nichwall committed Feb 7, 2025
1 parent 5a1951b commit 1141c6f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ class InternalDownloadManager(

private val tag = "InternalDownloadManager"
private val client: OkHttpClient =
OkHttpClient.Builder()
.connectTimeout(30, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.build()
OkHttpClient.Builder().connectTimeout(30, TimeUnit.SECONDS).build()
private val writer = BinaryFileWriter(outputStream, progressCallback)

/**
Expand Down

0 comments on commit 1141c6f

Please sign in to comment.