Compare commits

..

No commits in common. "c830c60e755a7f3818d713206d7f29c680360b37" and "06470d2db61d27853df2a28e5a881a595a472eb9" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -194,7 +194,6 @@ impl CampForm {
#[post("/api/camp-form")]
pub async fn camp_form(MultipartForm(form): MultipartForm<CampForm>) -> 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);

View file

@ -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
}