From 94dcccd1b9f97aee9e854fcbc4d6fb6b290c28a1 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 3 Sep 2015 22:16:29 +0200 Subject: [PATCH] Increase the discover timeframe --- include/socgraph.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/socgraph.php b/include/socgraph.php index 0f8afcf56d..c110d18a60 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1259,8 +1259,8 @@ function poco_discover($complete = false) { $no_of_queries = 5; - $last_update = date("c", time() - (60 * 60 * 6)); // 24 - $last_update = date("c", time() - (60 * 60 * 24)); // 24 + //$last_update = date("c", time() - (60 * 60 * 24)); // 24 + $last_update = date("c", time() - (60 * 60 * 24 * 7)); $r = q("SELECT `poco`, `nurl`, `url`, `network` FROM `gserver` WHERE `last_contact` >= `last_failure` AND `poco` != '' AND `last_poco_query` < '%s' ORDER BY RAND()", dbesc($last_update)); if ($r) -- 2.39.5