ReadMangas: Add rate limit (#7217)

Add rate limit
This commit is contained in:
Chopper 2025-01-18 15:32:43 -03:00 committed by Draff
parent f9996f5921
commit 04fce0106a
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Read Mangas' extName = 'Read Mangas'
extClass = '.ReadMangas' extClass = '.ReadMangas'
extVersionCode = 34 extVersionCode = 35
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -42,7 +42,7 @@ class ReadMangas() : HttpSource() {
override val client = network.cloudflareClient.newBuilder() override val client = network.cloudflareClient.newBuilder()
.readTimeout(2, TimeUnit.MINUTES) .readTimeout(2, TimeUnit.MINUTES)
.rateLimit(2) .rateLimit(1, 2)
.build() .build()
override val versionId = 2 override val versionId = 2