From bfe4ac9efda8e620f1770b6937639af3ab1956fc Mon Sep 17 00:00:00 2001 From: curche <72807749+curche@users.noreply.github.com> Date: Sat, 5 Jun 2021 01:52:18 +0530 Subject: [PATCH] Increase ratelimit for FlameScans (#7465) * increase ratelimit for FlameScans changed it to 2 since they have reported on increased server loads from Tachi. Hopefully this eases it out * bump versioncode for FlameScans in WPMangaReader Generator --- multisrc/overrides/wpmangareader/flamescans/src/FlameScans.kt | 2 +- .../tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/wpmangareader/flamescans/src/FlameScans.kt b/multisrc/overrides/wpmangareader/flamescans/src/FlameScans.kt index af6b4c016..faaf3442b 100644 --- a/multisrc/overrides/wpmangareader/flamescans/src/FlameScans.kt +++ b/multisrc/overrides/wpmangareader/flamescans/src/FlameScans.kt @@ -6,7 +6,7 @@ import okhttp3.OkHttpClient import java.util.concurrent.TimeUnit class FlameScans : WPMangaReader("Flame Scans", "https://flamescans.org", "en", "/series") { - private val rateLimitInterceptor = RateLimitInterceptor(4) + private val rateLimitInterceptor = RateLimitInterceptor(2) override val client: OkHttpClient = network.cloudflareClient.newBuilder() .connectTimeout(10, TimeUnit.SECONDS) diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt index a9c8ccbb7..8d9cbda38 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt @@ -22,7 +22,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator { SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true), SingleLang("TurkToon", "https://turktoon.com", "tr"), SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr", overrideVersionCode = 1), - SingleLang("Flame Scans", "https://flamescans.org", "en", overrideVersionCode = 2), + SingleLang("Flame Scans", "https://flamescans.org", "en", overrideVersionCode = 3), SingleLang("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"), SingleLang("PMScans", "https://reader.pmscans.com", "en"), SingleLang("Skull Scans", "https://www.skullscans.com", "en"),