diff --git a/core/crates/heavy-lifting/src/lib.rs b/core/crates/heavy-lifting/src/lib.rs index 696940179..b0d18ffd7 100644 --- a/core/crates/heavy-lifting/src/lib.rs +++ b/core/crates/heavy-lifting/src/lib.rs @@ -1,3 +1,4 @@ +#![recursion_limit = "256"] #![warn( clippy::all, clippy::pedantic, diff --git a/core/crates/heavy-lifting/src/media_processor/job.rs b/core/crates/heavy-lifting/src/media_processor/job.rs index bacca5e87..a8e22cdb2 100644 --- a/core/crates/heavy-lifting/src/media_processor/job.rs +++ b/core/crates/heavy-lifting/src/media_processor/job.rs @@ -727,7 +727,7 @@ async fn get_all_children_files_by_extensions( .collect::>() .join(",") ), - PrismaValue::Int(i64::from(parent_iso_file_path.location_id())), + PrismaValue::Int(parent_iso_file_path.location_id()), PrismaValue::String(format!( "{}%", parent_iso_file_path diff --git a/core/crates/heavy-lifting/src/media_processor/shallow.rs b/core/crates/heavy-lifting/src/media_processor/shallow.rs index 1bcb45e31..2f3cd8322 100644 --- a/core/crates/heavy-lifting/src/media_processor/shallow.rs +++ b/core/crates/heavy-lifting/src/media_processor/shallow.rs @@ -196,7 +196,7 @@ async fn get_files_by_extensions( .collect::>() .join(",") ), - PrismaValue::Int(i64::from(parent_iso_file_path.location_id())), + PrismaValue::Int(parent_iso_file_path.location_id()), PrismaValue::String( parent_iso_file_path .materialized_path_for_children()