mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
Implement proper rate limiter for IGDB API calls
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
val resilience4jVersion = "2.2.0"
|
||||
|
||||
plugins {
|
||||
id("com.google.devtools.ksp")
|
||||
}
|
||||
@@ -8,6 +10,17 @@ dependencies {
|
||||
// IGDB API client
|
||||
implementation("io.github.husnjak:igdb-api-jvm:1.3.1")
|
||||
|
||||
// Resilience4j for rate limiting
|
||||
implementation("io.github.resilience4j:resilience4j-ratelimiter:${resilience4jVersion}") {
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
implementation("io.github.resilience4j:resilience4j-bulkhead:${resilience4jVersion}") {
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
implementation("io.github.resilience4j:resilience4j-all:${resilience4jVersion}") {
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
|
||||
// Fuzzy string matching
|
||||
implementation("me.xdrop:fuzzywuzzy:1.4.0")
|
||||
}
|
||||
Reference in New Issue
Block a user