appears that the facebook poll interval was set to seconds rather than minutes, which could be bad for system load

This commit is contained in:
friendica 2012-04-27 23:15:28 -07:00
parent 022adddcef
commit 00e40639b1
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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;
}