mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 14:49: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.
This commit is contained in:
parent
6704d67d65
commit
c9fe4562c2
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