From d419aed5434cd425a0b9be3f65cd6c8c6f930d1a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Aug 2016 08:26:11 +0300 Subject: [PATCH] trgm plugin: increase check distance to 3 days --- plugins/af_psql_trgm/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5