bump limit to 5gb

This commit is contained in:
Luna 2023-06-13 23:46:44 -03:00
parent ae9a6f19ba
commit cb708d17fd
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ async fn main() {
// build our application with a single route
let app = Router::new()
.route("/", post(upload_file))
.layer(axum::extract::DefaultBodyLimit::max(512 * 1024 * 1024));
.layer(axum::extract::DefaultBodyLimit::max(5 * 1024 * 1024 * 1024));
let upstream_runner = get_upstream_runner();