Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
230315e0
Commit
230315e0
authored
Mar 15, 2020
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More semi-dynamic parameter defaults
parent
28fe2026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
mgt_param_tbl.c
bin/varnishd/mgt/mgt_param_tbl.c
+2
-1
mgt_pool.c
bin/varnishd/mgt/mgt_pool.c
+3
-2
No files found.
bin/varnishd/mgt/mgt_param_tbl.c
View file @
230315e0
...
@@ -55,7 +55,8 @@ struct parspec mgt_parspec[] = {
...
@@ -55,7 +55,8 @@ struct parspec mgt_parspec[] = {
"dlopen(3) loadable object. Any occurrence of %s in "
"dlopen(3) loadable object. Any occurrence of %s in "
"the string will be replaced with the source file name, "
"the string will be replaced with the source file name, "
"and %o will be replaced with the output 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
,
{
"vcl_path"
,
tweak_string
,
&
mgt_vcl_path
,
NULL
,
NULL
,
VARNISH_VCL_DIR
,
NULL
,
NULL
,
VARNISH_VCL_DIR
,
NULL
,
NULL
,
...
...
bin/varnishd/mgt/mgt_pool.c
View file @
230315e0
...
@@ -89,7 +89,7 @@ tweak_thread_pool_max(struct vsb *vsb, const struct parspec *par,
...
@@ -89,7 +89,7 @@ tweak_thread_pool_max(struct vsb *vsb, const struct parspec *par,
struct
parspec
WRK_parspec
[]
=
{
struct
parspec
WRK_parspec
[]
=
{
{
"thread_pools"
,
tweak_uint
,
&
mgt_param
.
wthread_pools
,
{
"thread_pools"
,
tweak_uint
,
&
mgt_param
.
wthread_pools
,
"1"
,
NULL
,
"2"
,
"1"
,
NULL
,
/* maximum defined in mgt_param.c */
"2"
,
"pools"
,
"pools"
,
"Number of worker thread pools.
\n
"
"Number of worker thread pools.
\n
"
"
\n
"
"
\n
"
...
@@ -104,7 +104,8 @@ struct parspec WRK_parspec[] = {
...
@@ -104,7 +104,8 @@ struct parspec WRK_parspec[] = {
"
\n
"
"
\n
"
"Can be increased on the fly, but decreases require a "
"Can be increased on the fly, but decreases require a "
"restart to take effect."
,
"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
,
{
"thread_pool_max"
,
tweak_thread_pool_max
,
&
mgt_param
.
wthread_max
,
NULL
,
NULL
,
"5000"
,
NULL
,
NULL
,
"5000"
,
"threads"
,
"threads"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment