From: friendica Date: Sat, 28 Apr 2012 06:15:28 +0000 (-0700) Subject: appears that the facebook poll interval was set to seconds rather than minutes, which... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=00e40639b1efef873db3a4c14c4dea878da8d15e;p=friendica-addons.git appears that the facebook poll interval was set to seconds rather than minutes, which could be bad for system load --- diff --git a/facebook.tgz b/facebook.tgz index a3e60e2d..4225512b 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index 011b9ac1..d63c6081 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -592,7 +592,7 @@ function facebook_cron($a,$b) { $poll_interval = FACEBOOK_DEFAULT_POLL_INTERVAL; if($last) { - $next = $last + $poll_interval; + $next = $last + ($poll_interval * 60); if($next > time()) return; }