diff --git a/src/all/tachidesk/build.gradle b/src/all/tachidesk/build.gradle index 0b756ba38..d775d73ab 100644 --- a/src/all/tachidesk/build.gradle +++ b/src/all/tachidesk/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Suwayomi' pkgNameSuffix = 'all.tachidesk' extClass = '.Tachidesk' - extVersionCode = 11 + extVersionCode = 12 } apply from: "$rootDir/common.gradle" diff --git a/src/all/tachidesk/src/eu/kanade/tachiyomi/extension/all/tachidesk/Tachidesk.kt b/src/all/tachidesk/src/eu/kanade/tachiyomi/extension/all/tachidesk/Tachidesk.kt index 69beabb0d..e4f03de86 100644 --- a/src/all/tachidesk/src/eu/kanade/tachiyomi/extension/all/tachidesk/Tachidesk.kt +++ b/src/all/tachidesk/src/eu/kanade/tachiyomi/extension/all/tachidesk/Tachidesk.kt @@ -34,6 +34,7 @@ import rx.schedulers.Schedulers import uy.kohesive.injekt.Injekt import uy.kohesive.injekt.api.get import uy.kohesive.injekt.injectLazy +import java.util.concurrent.TimeUnit import kotlin.math.min class Tachidesk : ConfigurableSource, UnmeteredSource, HttpSource() { @@ -51,6 +52,7 @@ class Tachidesk : ConfigurableSource, UnmeteredSource, HttpSource() { override val client: OkHttpClient = network.client.newBuilder() .dns(Dns.SYSTEM) // don't use DNS over HTTPS as it breaks IP addressing + .callTimeout(2, TimeUnit.MINUTES) .build() override fun headersBuilder(): Headers.Builder = Headers.Builder().apply {