mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Fix statsupdate processingtime bug
This commit is contained in:
parent
f393fa88ea
commit
041cb241aa
3 changed files with 3 additions and 3 deletions
|
@ -4225,7 +4225,7 @@ function update_statistics($update_all = false)
|
||||||
|
|
||||||
$stats_updated++;
|
$stats_updated++;
|
||||||
|
|
||||||
if(!$update_all && microtime(true) - $start_time >= $stats_update_processingtime)
|
if(!$update_all && microtime(true) - $start_time >= $settings->stats_update_processingtime)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
|
"description": "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
|
||||||
"id": "feature-stats",
|
"id": "feature-stats",
|
||||||
"lastupdate": 1502732758,
|
"lastupdate": 1504261794,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -191,7 +191,7 @@ function update_statistics($update_all = false)
|
||||||
|
|
||||||
$stats_updated++;
|
$stats_updated++;
|
||||||
|
|
||||||
if(!$update_all && microtime(true) - $start_time >= $stats_update_processingtime)
|
if(!$update_all && microtime(true) - $start_time >= $settings->stats_update_processingtime)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue