1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:45:56 +00:00

trgm plugin: increase check distance to 3 days

This commit is contained in:
Andrew Dolgov
2016-08-01 08:26:11 +03:00
parent a6fde6c99f
commit d419aed543

View File

@@ -274,7 +274,7 @@ class Af_Psql_Trgm extends Plugin {
$result = db_query("SELECT COUNT(id) AS nequal
FROM ttrss_entries, ttrss_user_entries WHERE ref_id = id AND
date_entered >= NOW() - interval '1 day' AND
date_entered >= NOW() - interval '3 days' AND
title = '$title_escaped' AND
guid != '$entry_guid' AND
owner_uid = $owner_uid");