Commit 230315e0 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

More semi-dynamic parameter defaults

parent 28fe2026
......@@ -55,7 +55,8 @@ struct parspec mgt_parspec[] = {
"dlopen(3) loadable object. Any occurrence of %s in "
"the string will be replaced with the source file name, "
"and %o will be replaced with the output file name.",
MUST_RELOAD },
MUST_RELOAD,
NULL, NULL, "defined when Varnish is built" },
{ "vcl_path", tweak_string, &mgt_vcl_path,
NULL, NULL, VARNISH_VCL_DIR,
NULL,
......
......@@ -89,7 +89,7 @@ tweak_thread_pool_max(struct vsb *vsb, const struct parspec *par,
struct parspec WRK_parspec[] = {
{ "thread_pools", tweak_uint, &mgt_param.wthread_pools,
"1", NULL, "2",
"1", NULL, /* maximum defined in mgt_param.c */ "2",
"pools",
"Number of worker thread pools.\n"
"\n"
......@@ -104,7 +104,8 @@ struct parspec WRK_parspec[] = {
"\n"
"Can be increased on the fly, but decreases require a "
"restart to take effect.",
EXPERIMENTAL | DELAYED_EFFECT },
EXPERIMENTAL | DELAYED_EFFECT,
NULL, "defined when Varnish is built" },
{ "thread_pool_max", tweak_thread_pool_max, &mgt_param.wthread_max,
NULL, NULL, "5000",
"threads",
......
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