mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-03 08:05:03 -04:00
[MINOR] report list of supported pollers with -vv
During troubleshooting, it's often useful to get the list of supported
pollers but until now it was required to have a working configuration
first. Since the pollers are known before main() is called, let's list
them with the build options.
Also report the default MAXCONN setting.
(cherry picked from commit be5b68584e)
This commit is contained in:
parent
4f9290afb3
commit
ac317992c9
1 changed files with 7 additions and 1 deletions
|
|
@ -183,7 +183,13 @@ void display_build_opts()
|
|||
#ifdef BUILD_OPTIONS
|
||||
"\n OPTIONS = " BUILD_OPTIONS
|
||||
#endif
|
||||
"\n\n");
|
||||
"\n\nDefault settings :"
|
||||
"\n maxconn = %d, maxpollevents = %d"
|
||||
"\n\n",
|
||||
DEFAULT_MAXCONN, MAX_POLL_EVENTS);
|
||||
|
||||
list_pollers(stdout);
|
||||
putchar('\n');
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue