Skip to content

Commit

Permalink
Add rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
choppeh committed Jan 17, 2025
1 parent 716ce78 commit 0a90c31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pt/readmangas/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Read Mangas'
extClass = '.ReadMangas'
extVersionCode = 34
extVersionCode = 35
}

apply from: "$rootDir/common.gradle"
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ReadMangas() : HttpSource() {

override val client = network.cloudflareClient.newBuilder()
.readTimeout(2, TimeUnit.MINUTES)
.rateLimit(2)
.rateLimit(1, 2)
.build()

override val versionId = 2
Expand Down

0 comments on commit 0a90c31

Please sign in to comment.