ZinChanManga: increase rate limit (#11204)

This commit is contained in:
ObserverOfTime 2022-03-22 13:41:20 +02:00 committed by GitHub
parent da4518ec03
commit f51a703250
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 @@ ext {
extName = 'ZinChanManga' extName = 'ZinChanManga'
pkgNameSuffix = 'en.zinchanmanga' pkgNameSuffix = 'en.zinchanmanga'
extClass = '.ZinChanManga' extClass = '.ZinChanManga'
extVersionCode = 2 extVersionCode = 3
isNsfw = true isNsfw = true
} }

View File

@ -30,7 +30,7 @@ class ZinChanManga : HttpSource() {
private val apiClient by lazy { private val apiClient by lazy {
network.client.newBuilder() network.client.newBuilder()
.sslSocketFactory(ZinChanCert.factory, ZinChanCert.manager) .sslSocketFactory(ZinChanCert.factory, ZinChanCert.manager)
.addInterceptor(RateLimitInterceptor(3)).build() .addInterceptor(RateLimitInterceptor(2)).build()
} }
private val apiHeaders by lazy { private val apiHeaders by lazy {