From ee275f0fa54af1ea5dc3539bf28f3de6417593fb Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 4 Aug 2024 18:36:49 -0300 Subject: [PATCH] bump body limit lol --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 840ce24..04c05d9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,7 +44,7 @@ async fn main() { // build our application with a single route let app = Router::new() .route("/", post(upload_file)) - .layer(axum::extract::DefaultBodyLimit::max(5 * 1024 * 1024 * 1024)); + .layer(axum::extract::DefaultBodyLimit::max(8 * 1024 * 1024 * 1024)); let upstream_runner = get_upstream_runner();