remove ratelimiter

This commit is contained in:
nelle 2024-11-09 11:20:20 -07:00
parent f79cb6349a
commit cb6c2ac4fd

View file

@ -23,10 +23,6 @@ val logger = KotlinLogging.logger("nelle.observer API")
fun main(args: Array<String>): Unit = EngineMain.main(args) fun main(args: Array<String>): Unit = EngineMain.main(args)
fun Application.module() { fun Application.module() {
install(RateLimit) {
register {
rateLimiter(limit = 10, refillPeriod = 2.minutes)
}
} }
install(ContentNegotiation) install(ContentNegotiation)
install(CORS) { install(CORS) {