From 94b20396ab837ac3e88db0f1618f8b0c0c29695c Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Tue, 13 Jul 2021 22:30:09 +0200 Subject: [PATCH] [AsuraScans] make the rate limit is bit lower (#8101) * Make the traffic (a bit) smaller * Bump version --- multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt | 2 +- .../tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt b/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt index 5059c04d4..eace6a14a 100644 --- a/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt +++ b/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt @@ -9,7 +9,7 @@ import eu.kanade.tachiyomi.source.model.Page class AsuraScans : WPMangaStream("AsuraScans", "https://www.asurascans.com", "en") { - private val rateLimitInterceptor = RateLimitInterceptor(2) + private val rateLimitInterceptor = RateLimitInterceptor(1) override val client: OkHttpClient = network.cloudflareClient.newBuilder() .connectTimeout(10, TimeUnit.SECONDS) diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt index f76cc085d..ea4f928d0 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt @@ -12,7 +12,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator { override val baseVersionCode: Int = 7 override val sources = listOf( - SingleLang("Asura Scans", "https://www.asurascans.com", "en", overrideVersionCode = 2), + SingleLang("Asura Scans", "https://www.asurascans.com", "en", overrideVersionCode = 3), SingleLang("KlanKomik", "https://klankomik.com", "id", overrideVersionCode = 1), SingleLang("MasterKomik", "https://masterkomik.com", "id", overrideVersionCode = 1), SingleLang("Kaisar Komik", "https://kaisarkomik.com", "id", overrideVersionCode = 1),