server: sample DB for missing indexes, should prevent duplication from separate threads

This commit is contained in:
Bill Thiede 2025-01-29 14:42:59 -08:00
parent 29bf6d9b6d
commit c6aabf88b9

View File

@ -3,6 +3,6 @@ SELECT
link, link,
clean_summary clean_summary
FROM FROM
post AS p post AS p TABLESAMPLE SYSTEM (.1)
INNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts INNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts
WHERE search_summary IS NULL; WHERE search_summary IS NULL;