Mercurial > hg > svcore
changeset 173:058a82e8bc3c
...
author | Chris Cannam |
---|---|
date | Wed, 27 Sep 2006 20:52:48 +0000 |
parents | a2a8a2b6653a |
children | f8cf055dbf34 |
files | base/StorageAdviser.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/base/StorageAdviser.cpp Tue Sep 26 14:12:59 2006 +0000 +++ b/base/StorageAdviser.cpp Wed Sep 27 20:52:48 2006 +0000 @@ -61,8 +61,8 @@ if (discFree == -1) discStatus = Unknown; else if (minmb > (discFree * 3) / 4) discStatus = Insufficient; - else if (maxmb > (discFree * 3) / 4) discStatus = Marginal; - else if (minmb > (discFree / 3)) discStatus = Marginal; + else if (maxmb > (discFree / 4)) discStatus = Marginal; + else if (minmb > (discFree / 10)) discStatus = Marginal; else discStatus = Sufficient; std::cerr << "Memory status: " << memoryStatus << ", disc status "