Revision bf34d0de
Added by Pierre POMES over 13 years ago
etc/inc/vslb.inc | ||
---|---|---|
201 | 201 |
$fd = fopen("{$g['varetc_path']}/relayd.conf", "w"); |
202 | 202 |
$conf .= "log updates \n"; |
203 | 203 |
|
204 |
/* Global timeout and interval settings |
|
205 |
if not specified by the user, use a 1000 ms timeout value as in pfsense 2.0.1 and above */ |
|
204 |
/* Global timeout, interval and prefork settings |
|
205 |
if not specified by the user: |
|
206 |
- use a 1000 ms timeout value as in pfsense 2.0.1 and above |
|
207 |
- leave interval and prefork empty, relayd will use its default values */ |
|
208 |
|
|
206 | 209 |
if (isset($setting['timeout']) && !empty($setting['timeout'])) { |
207 | 210 |
$conf .= "timeout ".$setting['timeout']." \n"; |
208 | 211 |
} else { |
... | ... | |
213 | 216 |
$conf .= "interval ".$setting['interval']." \n"; |
214 | 217 |
} |
215 | 218 |
|
219 |
if (isset($setting['prefork']) && !empty($setting['prefork'])) { |
|
220 |
$conf .= "prefork ".$setting['prefork']." \n"; |
|
221 |
} |
|
222 |
|
|
216 | 223 |
/* reindex pools by name as we loop through the pools array */ |
217 | 224 |
$pools = array(); |
218 | 225 |
/* Virtual server pools */ |
Also available in: Unified diff
Ticket #2205 - Add prefork setting