Browse Source

Increase the discover timeframe

pull/1880/head
Michael Vogel 6 years ago
parent
commit
94dcccd1b9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/socgraph.php

+ 2
- 2
include/socgraph.php View File

@ -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)


Loading…
Cancel
Save