let's limit this to two weeks so it doesn't pound servers and waste too much space

This commit is contained in:
friendica 2014-03-26 19:23:45 -07:00
parent e476ed6be5
commit 20717e3416

View File

@ -174,7 +174,7 @@ function poller_run($argv, $argc){
);
if($r) {
$feedurl = $r[0]['site_url'] . '/zotfeed?f=&mindate=' . urlencode(datetime_convert('','','now - 1 month'));
$feedurl = $r[0]['site_url'] . '/zotfeed?f=&mindate=' . urlencode(datetime_convert('','','now - 15 days'));
$x = z_fetch_url($feedurl);
if(($x) && ($x['success'])) {
$total = 0;