feat: Optimize image hash checks with bulk queries and add database indexing for performance

This commit is contained in:
Ross
2026-05-11 12:07:55 +01:00
parent e55a3bf36a
commit 2b9f3e3b68
6 changed files with 85 additions and 28 deletions
+1 -1
View File
@@ -184,7 +184,7 @@
const SITE_PREFIXES = ["ref", "rk9", "ra9", "rh8", "rbz", "rba"];
const OCR_MAX_SERIES_SAMPLES = 40;
const OCR_CANVAS_MAX = 768;
const DUPLICATE_BATCH_SIZE = 50;
const DUPLICATE_BATCH_SIZE = 500;
function setProgress(text) {
document.getElementById("progress-text").textContent = text;