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:
parent
022adddcef
commit
00e40639b1
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user