ZinChanManga: increase rate limit (#11204)
This commit is contained in:
parent
da4518ec03
commit
f51a703250
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue