[AsuraScans] make the rate limit is bit lower (#8101)

* Make the traffic (a bit) smaller

* Bump version
This commit is contained in:
Baptiste Leduc 2021-07-13 22:30:09 +02:00 committed by GitHub
parent c8cafbfedb
commit 94b20396ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import eu.kanade.tachiyomi.source.model.Page
class AsuraScans : WPMangaStream("AsuraScans", "https://www.asurascans.com", "en") { 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() override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS) .connectTimeout(10, TimeUnit.SECONDS)

View File

@ -12,7 +12,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 7 override val baseVersionCode: Int = 7
override val sources = listOf( 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("KlanKomik", "https://klankomik.com", "id", overrideVersionCode = 1),
SingleLang("MasterKomik", "https://masterkomik.com", "id", overrideVersionCode = 1), SingleLang("MasterKomik", "https://masterkomik.com", "id", overrideVersionCode = 1),
SingleLang("Kaisar Komik", "https://kaisarkomik.com", "id", overrideVersionCode = 1), SingleLang("Kaisar Komik", "https://kaisarkomik.com", "id", overrideVersionCode = 1),