mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-15 03:26:59 +02: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.
(cherry picked from commit c9fe4562c2
)
This commit is contained in:
parent
1c2f47166c
commit
e7345f355d
@ -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