From ef64ba589be83c9a337025b4bd64277f54f4475f Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 12 Jun 2023 16:33:34 -0300 Subject: [PATCH] bump max body size --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3b6035a..79324d4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,7 +36,7 @@ async fn main() { // build our application with a single route let app = Router::new() .route("/", post(upload_file)) - .layer(axum::extract::DefaultBodyLimit::max(300 * 1024 * 1024)); + .layer(axum::extract::DefaultBodyLimit::max(512 * 1024 * 1024)); let upstream_runner = get_upstream_runner();