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
0d88c116
Commit
0d88c116
authored
Sep 23, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the last traces of saint-mode from the core code.
parent
c79869b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
18 deletions
+1
-18
cache_backend.c
bin/varnishd/cache/cache_backend.c
+1
-8
params.h
bin/varnishd/common/params.h
+0
-3
mgt_param_tbl.c
bin/varnishd/mgt/mgt_param_tbl.c
+0
-7
No files found.
bin/varnishd/cache/cache_backend.c
View file @
0d88c116
...
...
@@ -220,14 +220,7 @@ vbe_NewConn(void)
}
/*--------------------------------------------------------------------
* It evaluates if a backend is healthy _for_a_specific_object_.
* That means that it relies on req->objcore->objhead. This is mainly for
* saint-mode, but also takes backend->healthy into account. If
* cache_param->saintmode_threshold is 0, this is basically just a test of
* backend->healthy.
*
* The threshold has to be evaluated _after_ the timeout check, otherwise
* items would never time out once the threshold is reached.
* Test if backend is healthy and report when it last changed
*/
unsigned
...
...
bin/varnishd/common/params.h
View file @
0d88c116
...
...
@@ -188,9 +188,6 @@ struct params {
/* How long time does the ban lurker sleep */
double
ban_lurker_sleep
;
/* Max size of the saintmode list. 0 == no saint mode. */
unsigned
saintmode_threshold
;
unsigned
syslog_cli_traffic
;
unsigned
http_range_support
;
...
...
bin/varnishd/mgt/mgt_param_tbl.c
View file @
0d88c116
...
...
@@ -439,13 +439,6 @@ const struct parspec mgt_parspec[] = {
"A value of zero disables the ban lurker."
,
0
,
"0.01"
,
"s"
},
{
"saintmode_threshold"
,
tweak_uint
,
&
mgt_param
.
saintmode_threshold
,
0
,
UINT_MAX
,
"The maximum number of objects held off by saint mode before "
"no further will be made to the backend until one times out. "
"A value of 0 disables saintmode."
,
EXPERIMENTAL
,
"10"
,
"objects"
},
{
"http_range_support"
,
tweak_bool
,
&
mgt_param
.
http_range_support
,
0
,
0
,
"Enable support for HTTP Range headers.
\n
"
,
0
,
...
...
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