summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 3fa8ff3..586ed5f 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -753,19 +753,19 @@ function system_generate_lighty_config($filename,
}
if($avail > 97 and $avail < 128) {
- $max_procs = 1;
+ $max_procs = 2;
}
if($avail > 127 and $avail < 256) {
- $max_procs = 1;
+ $max_procs = 3;
}
if($avail > 255 and $avail < 384) {
- $max_procs = 3;
+ $max_procs = 4;
}
if($avail > 383) {
- $max_procs = 4;
+ $max_procs = 5;
}
if($captive_portal == true) {
OpenPOWER on IntegriCloud