This commit is contained in:
parent
d259fb44cb
commit
406902d481
|
@ -154,7 +154,7 @@ async fn thumbdata_save(
|
|||
}
|
||||
};
|
||||
|
||||
actix::spawn(async move {
|
||||
//actix::spawn(async move {
|
||||
match generate_thumbnails(&img).await {
|
||||
Ok(thumbnails_bytes) => {
|
||||
for (thumb_width, thumbnail) in thumbnails_bytes {
|
||||
|
@ -179,6 +179,6 @@ async fn thumbdata_save(
|
|||
warn!("cannot generate thumbnails for {}: {}", filename, e);
|
||||
}
|
||||
}
|
||||
});
|
||||
//});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user