diff --git a/src/api/camp_form.rs b/src/api/camp_form.rs index 73937a8..46d082d 100644 --- a/src/api/camp_form.rs +++ b/src/api/camp_form.rs @@ -194,7 +194,6 @@ impl CampForm { #[post("/api/camp-form")] pub async fn camp_form(MultipartForm(form): MultipartForm) -> HttpResponse { - info!("Starting camp form work: {:?}", form); let full_name = format!("{} {}", form.first_name.0, form.last_name.0); let map = (&form).into(); let future = store_camp_form(map); diff --git a/src/main.rs b/src/main.rs index ad12f44..534c887 100644 --- a/src/main.rs +++ b/src/main.rs @@ -100,7 +100,7 @@ async fn main() -> std::io::Result<()> { .service(Files::new("/", "./public").index_file("index.html")) }) .bind(("localhost", 4242))? - .workers(4) + .workers(2) .run() .await }