From cdd4ec623342de5894857f467bca2f2388b3f46d Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 17 Apr 2022 11:32:47 -0400 Subject: [PATCH] Increase default OkHttp call timeout to 2 minutes Which is still stupidly high, but maybe it'll be lenient enough for certain people. --- app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt index 7790953e2..c59056daf 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt @@ -27,7 +27,7 @@ class NetworkHelper(context: Context) { .cookieJar(cookieManager) .connectTimeout(30, TimeUnit.SECONDS) .readTimeout(30, TimeUnit.SECONDS) - .callTimeout(90, TimeUnit.SECONDS) + .callTimeout(2, TimeUnit.MINUTES) // .fastFallback(true) // TODO: re-enable when OkHttp 5 is stabler .addInterceptor(UserAgentInterceptor())