Commit f29735ee authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Improve descriptions

parent 642e23ea
...@@ -452,7 +452,11 @@ struct parspec mgt_parspec[] = { ...@@ -452,7 +452,11 @@ struct parspec mgt_parspec[] = {
WAITER_DEFAULT, NULL }, WAITER_DEFAULT, NULL },
{ "ban_dups", tweak_bool, &mgt_param.ban_dups, { "ban_dups", tweak_bool, &mgt_param.ban_dups,
NULL, NULL, NULL, NULL,
"Detect and eliminate duplicate bans.", "Elimited older identical bans when new bans are created."
" This test is CPU intensive and scales with the number and"
" complexity of active (non-Gone) bans. If identical bans"
" are frequent, the amount of CPU needed to actually test "
" the bans will be similarly reduced.",
0, 0,
"on", "bool" }, "on", "bool" },
{ "syslog_cli_traffic", tweak_bool, &mgt_param.syslog_cli_traffic, { "syslog_cli_traffic", tweak_bool, &mgt_param.syslog_cli_traffic,
...@@ -463,9 +467,10 @@ struct parspec mgt_parspec[] = { ...@@ -463,9 +467,10 @@ struct parspec mgt_parspec[] = {
{ "ban_lurker_sleep", tweak_timeout, { "ban_lurker_sleep", tweak_timeout,
&mgt_param.ban_lurker_sleep, &mgt_param.ban_lurker_sleep,
"0", NULL, "0", NULL,
"How long time does the ban lurker thread sleeps between " "The ban lurker thread sleeps between work batches, in order"
"successful attempts to push the last item up the ban " " to not monopolize CPU power."
" list. It always sleeps a second when nothing can be done.\n" " When nothing is done, it sleeps a fraction of a second"
" before looking for new work to do.\n"
"A value of zero disables the ban lurker.", "A value of zero disables the ban lurker.",
0, 0,
"0.01", "s" }, "0.01", "s" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment