nospawn
All checks were successful
deploy / deploy (push) Successful in 1m4s

This commit is contained in:
Untone 2024-10-22 21:33:42 +03:00
parent d259fb44cb
commit 406902d481

View File

@ -154,7 +154,7 @@ async fn thumbdata_save(
} }
}; };
actix::spawn(async move { //actix::spawn(async move {
match generate_thumbnails(&img).await { match generate_thumbnails(&img).await {
Ok(thumbnails_bytes) => { Ok(thumbnails_bytes) => {
for (thumb_width, thumbnail) in thumbnails_bytes { for (thumb_width, thumbnail) in thumbnails_bytes {
@ -179,6 +179,6 @@ async fn thumbdata_save(
warn!("cannot generate thumbnails for {}: {}", filename, e); warn!("cannot generate thumbnails for {}: {}", filename, e);
} }
} }
}); //});
} }
} }