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
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class Af_Psql_Trgm extends Plugin {
$result = db_query("SELECT COUNT(id) AS nequal $result = db_query("SELECT COUNT(id) AS nequal
FROM ttrss_entries, ttrss_user_entries WHERE ref_id = id AND 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 title = '$title_escaped' AND
guid != '$entry_guid' AND guid != '$entry_guid' AND
owner_uid = $owner_uid"); owner_uid = $owner_uid");