From 5e472313638166054efef3351e6864e7d8358936 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 24 Mar 2022 11:50:34 -0400 Subject: [PATCH] Lowering search rate limit. Fixes #2153 --- src/api_routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_routes.rs b/src/api_routes.rs index 1af9f028f..61efa0055 100644 --- a/src/api_routes.rs +++ b/src/api_routes.rs @@ -29,7 +29,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) { ) .service( web::resource("/search") - .wrap(rate_limit.message()) + .wrap(rate_limit.comment()) .route(web::get().to(route_get::)), ) .service(