From cb6c2ac4fddd1b8279114ae3141a55881f410376 Mon Sep 17 00:00:00 2001 From: limepot Date: Sat, 9 Nov 2024 11:20:20 -0700 Subject: [PATCH] remove ratelimiter --- .../kotlin/observer/nelle/nelleObserverBackend/Application.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt index 4dacc5d..19b1976 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt @@ -23,10 +23,6 @@ val logger = KotlinLogging.logger("nelle.observer API") fun main(args: Array): Unit = EngineMain.main(args) fun Application.module() { - install(RateLimit) { - register { - rateLimiter(limit = 10, refillPeriod = 2.minutes) - } } install(ContentNegotiation) install(CORS) {