mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:10:13 +01:00
Use averagemessagesmonthraw instead of averagemessagestotalraw for space projection
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
35de123688
commit
3d89d373cc
@ -87,7 +87,7 @@ class ModelHealthHealth extends Model {
|
||||
}
|
||||
|
||||
// average total message size per day, computed over the time period since the first email was archived
|
||||
$averagesizedayraw = ($averagemessagesizeraw + $averagesqlsizeraw + $averagesphinxsizeraw) * $this->data['averagemessagestotalraw'];
|
||||
$averagesizedayraw = ($averagemessagesizeraw + $averagesqlsizeraw + $averagesphinxsizeraw) * $this->data['averagemessagesmonthraw'];
|
||||
|
||||
$datapart = 0;
|
||||
foreach($this->data['shortdiskinfo'] as $part) {
|
||||
|
Loading…
Reference in New Issue
Block a user