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
This commit is contained in:
curche 2021-06-05 01:52:18 +05:30 committed by GitHub
parent 462e270824
commit bfe4ac9efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit
class FlameScans : WPMangaReader("Flame Scans", "https://flamescans.org", "en", "/series") { 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() override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS) .connectTimeout(10, TimeUnit.SECONDS)

View File

@ -22,7 +22,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true), SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true),
SingleLang("TurkToon", "https://turktoon.com", "tr"), SingleLang("TurkToon", "https://turktoon.com", "tr"),
SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr", overrideVersionCode = 1), 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("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"),
SingleLang("PMScans", "https://reader.pmscans.com", "en"), SingleLang("PMScans", "https://reader.pmscans.com", "en"),
SingleLang("Skull Scans", "https://www.skullscans.com", "en"), SingleLang("Skull Scans", "https://www.skullscans.com", "en"),