From b23bd214fffdded36a130c5ea398ee66190b1894 Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Sun, 8 Dec 2024 16:00:53 +0100 Subject: [PATCH] Manga 18x: increase timeout (#6524) --- src/en/manga18x/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/manga18x/Manga18x.kt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/en/manga18x/build.gradle b/src/en/manga18x/build.gradle index 03874b69e..e49eb9af2 100644 --- a/src/en/manga18x/build.gradle +++ b/src/en/manga18x/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.Manga18x' themePkg = 'madara' baseUrl = 'https://manga18x.net' - overrideVersionCode = 0 + overrideVersionCode = 1 isNsfw = true } diff --git a/src/en/manga18x/src/eu/kanade/tachiyomi/extension/en/manga18x/Manga18x.kt b/src/en/manga18x/src/eu/kanade/tachiyomi/extension/en/manga18x/Manga18x.kt index 27c1752d9..e30e5a5ef 100644 --- a/src/en/manga18x/src/eu/kanade/tachiyomi/extension/en/manga18x/Manga18x.kt +++ b/src/en/manga18x/src/eu/kanade/tachiyomi/extension/en/manga18x/Manga18x.kt @@ -1,7 +1,12 @@ package eu.kanade.tachiyomi.extension.en.manga18x import eu.kanade.tachiyomi.multisrc.madara.Madara +import java.util.concurrent.TimeUnit class Manga18x : Madara("Manga 18x", "https://manga18x.net", "en") { + override val client = super.client.newBuilder() + .readTimeout(2, TimeUnit.MINUTES) + .build() + override val useNewChapterEndpoint = true }