From 2e5f42466cc2430ed23804a9a4f58b60f8132424 Mon Sep 17 00:00:00 2001 From: Din Date: Thu, 19 Dec 2024 01:58:59 -0800 Subject: [PATCH] increase payload limit for api /v1 to 200MB --- app-server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-server/src/main.rs b/app-server/src/main.rs index cbdf556..0cb640f 100644 --- a/app-server/src/main.rs +++ b/app-server/src/main.rs @@ -404,7 +404,7 @@ fn main() -> anyhow::Result<()> { .service(api::v1::evaluations::create_evaluation) .service(api::v1::metrics::process_metrics) .service(api::v1::semantic_search::semantic_search) - .app_data(PayloadConfig::new(10 * 1024 * 1024)), + .app_data(PayloadConfig::new(200 * 1024 * 1024)), ) // Scopes with generic auth .service(