mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 11:03:41 +00:00
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
2 changed files with 1 additions and 1 deletions
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 a new issue