diff options
author | Simon Rettberg | 2022-07-04 18:22:38 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-07-04 18:22:38 +0200 |
commit | aa656ed3bf6e63f30ca81781ff0a09ee608a9422 (patch) | |
tree | 15c052b4afaba532bf394fe6838a59f3f5986435 /modules-available | |
parent | [statistics] Increase RAM size warning limits (diff) | |
download | slx-admin-aa656ed3bf6e63f30ca81781ff0a09ee608a9422.tar.gz slx-admin-aa656ed3bf6e63f30ca81781ff0a09ee608a9422.tar.xz slx-admin-aa656ed3bf6e63f30ca81781ff0a09ee608a9422.zip |
[statistics] Add a few more RAM/HDD size groups, future is catching up..
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/statistics/inc/statisticsfilter.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/statistics/inc/statisticsfilter.inc.php b/modules-available/statistics/inc/statisticsfilter.inc.php index d60de9e7..809a636d 100644 --- a/modules-available/statistics/inc/statisticsfilter.inc.php +++ b/modules-available/statistics/inc/statisticsfilter.inc.php @@ -10,8 +10,10 @@ abstract class StatisticsFilter */ const LEGACY_DELIMITER = '~,~'; - const SIZE_ID44 = array(0, 8, 16, 24, 30, 40, 50, 60, 80, 100, 120, 150, 180, 250, 300, 400, 500, 1000, 2000, 4000); - const SIZE_RAM = array(1, 2, 3, 4, 6, 8, 10, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 320, 480, 512, 768, 1024); + const SIZE_ID44 = [0, 8, 16, 24, 30, 40, 50, 60, 80, 100, 120, 150, 180, 250, 300, 400, 500, 1000, 1500, 2000, 3000, + 4000, 6000, 8000, 10000]; + const SIZE_RAM = [1, 2, 3, 4, 6, 8, 10, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 320, 480, 512, 768, 1024, 1536, + 2048]; private static $keyCounter = 0; |