]> git.wh0rd.org Git - tt-rss.git/commitdiff
trgm plugin: increase check distance to 3 days
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 1 Aug 2016 05:26:11 +0000 (08:26 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 1 Aug 2016 05:26:11 +0000 (08:26 +0300)
plugins/af_psql_trgm/init.php

index 521db4b85284f4e04589504914c402664abef09c..0de46b085e48d8df330cd30f9c86c3245fda5502 100644 (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");