mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +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.
This commit is contained in:
parent
6704d67d65
commit
c9fe4562c2
@ -143,8 +143,11 @@
|
|||||||
* command-line '-n' argument.
|
* command-line '-n' argument.
|
||||||
*/
|
*/
|
||||||
#ifndef SYSTEM_MAXCONN
|
#ifndef SYSTEM_MAXCONN
|
||||||
|
#ifndef DEFAULT_MAXCONN
|
||||||
#define DEFAULT_MAXCONN 2000
|
#define DEFAULT_MAXCONN 2000
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
|
#undef DEFAULT_MAXCONN
|
||||||
#define DEFAULT_MAXCONN SYSTEM_MAXCONN
|
#define DEFAULT_MAXCONN SYSTEM_MAXCONN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user