mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:20:12 +01:00
added some explanation to example.conf
Change-Id: I859b48c70008a4961c87cd23c16ce9573bf8a18a Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
f4e9238aaf
commit
2e5ddbaef5
@ -41,6 +41,7 @@ number_of_worker_processes=2
|
|||||||
; max. number of parallel connections piler-smtp can handle.
|
; max. number of parallel connections piler-smtp can handle.
|
||||||
; Important! If you want to change this value, then you must first
|
; Important! If you want to change this value, then you must first
|
||||||
; stop piler-smtp, change the value, then start piler-smtp.
|
; stop piler-smtp, change the value, then start piler-smtp.
|
||||||
|
; I don't suggest to go under 10 or above 1000.
|
||||||
max_connections=64
|
max_connections=64
|
||||||
|
|
||||||
; number of processed emails per each piler process
|
; number of processed emails per each piler process
|
||||||
|
@ -385,10 +385,6 @@ int main(int argc, char **argv){
|
|||||||
|
|
||||||
initialise_configuration();
|
initialise_configuration();
|
||||||
|
|
||||||
// The max_connections variable mustn't be affected by a reload!
|
|
||||||
if(cfg.max_connections < 10) cfg.max_connections = 10;
|
|
||||||
if(cfg.max_connections > 10000) cfg.max_connections = 10000;
|
|
||||||
|
|
||||||
listenerfd = create_listener_socket(cfg.listen_addr, cfg.listen_port);
|
listenerfd = create_listener_socket(cfg.listen_addr, cfg.listen_port);
|
||||||
if(listenerfd == -1){
|
if(listenerfd == -1){
|
||||||
syslog(LOG_PRIORITY, "create_listener_socket() error");
|
syslog(LOG_PRIORITY, "create_listener_socket() error");
|
||||||
|
Loading…
Reference in New Issue
Block a user