mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-04 16:46:45 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue