mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 22:02:27 +01:00 
			
		
		
		
	added some explanation to example.conf
Change-Id: I859b48c70008a4961c87cd23c16ce9573bf8a18a Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
		| @@ -41,6 +41,7 @@ number_of_worker_processes=2 | ||||
| ; max. number of parallel connections piler-smtp can handle. | ||||
| ; Important! If you want to change this value, then you must first | ||||
| ; stop piler-smtp, change the value, then start piler-smtp. | ||||
| ; I don't suggest to go under 10 or above 1000. | ||||
| max_connections=64 | ||||
|  | ||||
| ; number of processed emails per each piler process | ||||
|   | ||||
| @@ -385,10 +385,6 @@ int main(int argc, char **argv){ | ||||
|  | ||||
|    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); | ||||
|    if(listenerfd == -1){ | ||||
|       syslog(LOG_PRIORITY, "create_listener_socket() error"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user