pinakes-core: fix subtitle i32 overflow in postgres

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3b43f97c96905953fd58f051667c59096a6a6964
This commit is contained in:
raf 2026-03-12 19:41:01 +03:00
commit 6d68a83003
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 33 additions and 8 deletions

View file

@ -271,7 +271,9 @@ pub async fn scan_directory_with_options(
if let Some(p) = progress {
p.record_error(msg.clone());
}
errors.push(msg);
if errors.len() < MAX_STORED_ERRORS {
errors.push(msg);
}
},
}
}