From: Andrew Dolgov Date: Mon, 1 Aug 2016 05:26:11 +0000 (+0300) Subject: trgm plugin: increase check distance to 3 days X-Git-Tag: 16.8~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d419aed5434cd425a0b9be3f65cd6c8c6f930d1a;p=tt-rss.git trgm plugin: increase check distance to 3 days --- diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 521db4b8..0de46b08 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -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");