mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-28 14:17:19 +02:00
Remove read timeout for connection
This commit is contained in:
+1
-4
@@ -18,10 +18,7 @@ class InternalDownloadManager(
|
|||||||
|
|
||||||
private val tag = "InternalDownloadManager"
|
private val tag = "InternalDownloadManager"
|
||||||
private val client: OkHttpClient =
|
private val client: OkHttpClient =
|
||||||
OkHttpClient.Builder()
|
OkHttpClient.Builder().connectTimeout(30, TimeUnit.SECONDS).build()
|
||||||
.connectTimeout(30, TimeUnit.SECONDS)
|
|
||||||
.readTimeout(30, TimeUnit.SECONDS)
|
|
||||||
.build()
|
|
||||||
private val writer = BinaryFileWriter(outputStream, progressCallback)
|
private val writer = BinaryFileWriter(outputStream, progressCallback)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user