Revision 84506d9a
Added by Scott Ullrich almost 20 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
157 | 157 |
|
158 | 158 |
$memory = get_memory(); |
159 | 159 |
$avail = $memory[0]; |
160 |
$use_fastcgi = true; |
|
161 | 160 |
if($avail > 0 and $avail < 60) { |
162 | 161 |
$procs = 16; |
163 |
$use_fastcgi = false; |
|
164 | 162 |
} else if($avail > 60 and $avail < 120) { |
165 | 163 |
$procs = 24; |
166 | 164 |
} else if($avail > 120 and $avail < 160) { |
Also available in: Unified diff
No fast-cgi.