change rate limiting from 4 requests/sec to 1 r/s (#5507)
This commit is contained in:
parent
93da2be0b2
commit
0ee4d3acab
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaDex'
|
||||
pkgNameSuffix = 'all.mangadex'
|
||||
extClass = '.MangaDexFactory'
|
||||
extVersionCode = 101
|
||||
extVersionCode = 102
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ abstract class MangaDex(
|
|||
MangadexDescription(internalLang)
|
||||
}
|
||||
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(4)
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(1)
|
||||
|
||||
override val client: OkHttpClient = network.client.newBuilder()
|
||||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
|
|
Loading…
Reference in New Issue