mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Adjusted timeouts
This commit is contained in:
parent
6ab3eff61c
commit
9ce0be6450
1 changed files with 3 additions and 3 deletions
|
@ -51,9 +51,9 @@ class DownloadService : Service() {
|
|||
|
||||
private val _client = ManagedHttpClient(OkHttpClient.Builder()
|
||||
//.proxy(Proxy(Proxy.Type.HTTP, InetSocketAddress(InetAddress.getByName("192.168.1.175"), 8081)))
|
||||
.readTimeout(Duration.ofMinutes(30))
|
||||
.writeTimeout(Duration.ofMinutes(30))
|
||||
.connectTimeout(Duration.ofSeconds(30))
|
||||
.readTimeout(Duration.ofMinutes(0))
|
||||
.writeTimeout(Duration.ofMinutes(0))
|
||||
.connectTimeout(Duration.ofSeconds(100))
|
||||
.callTimeout(Duration.ofMinutes(0)))
|
||||
|
||||
private var _started = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue