mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-02 22:30:40 +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()
|
private val _client = ManagedHttpClient(OkHttpClient.Builder()
|
||||||
//.proxy(Proxy(Proxy.Type.HTTP, InetSocketAddress(InetAddress.getByName("192.168.1.175"), 8081)))
|
//.proxy(Proxy(Proxy.Type.HTTP, InetSocketAddress(InetAddress.getByName("192.168.1.175"), 8081)))
|
||||||
.readTimeout(Duration.ofMinutes(30))
|
.readTimeout(Duration.ofMinutes(0))
|
||||||
.writeTimeout(Duration.ofMinutes(30))
|
.writeTimeout(Duration.ofMinutes(0))
|
||||||
.connectTimeout(Duration.ofSeconds(30))
|
.connectTimeout(Duration.ofSeconds(100))
|
||||||
.callTimeout(Duration.ofMinutes(0)))
|
.callTimeout(Duration.ofMinutes(0)))
|
||||||
|
|
||||||
private var _started = false;
|
private var _started = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue