mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-19 20:27:01 +00:00
[MINOR] make DEFAULT_MAXCONN user-configurable at build time
The only way to set this previously was to set SYSTEM_MAXCONN which serves a different purpose.
This commit is contained in:
parent
6704d67d65
commit
c9fe4562c2
@ -143,8 +143,11 @@
|
||||
* command-line '-n' argument.
|
||||
*/
|
||||
#ifndef SYSTEM_MAXCONN
|
||||
#ifndef DEFAULT_MAXCONN
|
||||
#define DEFAULT_MAXCONN 2000
|
||||
#endif
|
||||
#else
|
||||
#undef DEFAULT_MAXCONN
|
||||
#define DEFAULT_MAXCONN SYSTEM_MAXCONN
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user