Skip to content

Instantly share code, notes, and snippets.

@perplexes
Created November 7, 2012 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perplexes/4034198 to your computer and use it in GitHub Desktop.
Save perplexes/4034198 to your computer and use it in GitHub Desktop.
commit f65a43c9027d8fc82de44f82737a744dcac0556f
Author: Colin Curtin <colin.t.curtin@gmail.com>
Date: Wed Nov 7 12:21:46 2012 -0800
Fix documentation for .initial backend parameter to match the source.
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 60daaa3..31c79a5 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -202,7 +202,10 @@ Probes take the following parameters:
Defaults to 3.
.initial
How many of the probes are considered good when Varnish starts.
- Defaults to the same amount as the threshold.
+ If this is set to more than or equal to the threshold, the backend starts as
+ healthy.
+ Defaults to the value of threshold - 1. In this case, the backend starts
+ as sick and requires one poll to pass to become healthy.
.expected_response
The expected backend HTTP response code.
Defaults to 200.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment