mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 14:43:41 +00:00
Statistics: Changed statistics calculation to 24 hours.
This commit is contained in:
parent
920e0bada8
commit
01efb523b7
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ function statistics_json_cron($a,$b) {
|
||||||
$last = get_config('statistics_json','last_calucation');
|
$last = get_config('statistics_json','last_calucation');
|
||||||
|
|
||||||
if($last) {
|
if($last) {
|
||||||
// Calculate all 6 hours
|
// Calculate every 24 hours
|
||||||
$next = $last + (360 * 60);
|
$next = $last + (24 * 60 * 60);
|
||||||
if($next > time()) {
|
if($next > time()) {
|
||||||
logger('statistics_json_cron: calculation intervall not reached');
|
logger('statistics_json_cron: calculation intervall not reached');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue