[4.1] 5ed4b4b Introduce a parameter value for allowed clock step
PÃ¥l Hermunn Johansen
hermunn at varnish-software.com
Wed Nov 16 13:55:05 CET 2016
commit 5ed4b4bee3e2f76d3e7d8e27cb06bce2eb3713d8
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Thu Oct 27 14:44:21 2016 +0200
Introduce a parameter value for allowed clock step
This value is used in calculations that could reveal clock step,
specifying the amount of error we allow before panicking. It defaults
to a conservative 1 second.
diff --git a/include/tbl/params.h b/include/tbl/params.h
index d1da313..a5157ee 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -290,6 +290,21 @@ PARAM(
)
PARAM(
+ /* name */ clock_step,
+ /* typ */ timeout,
+ /* min */ "0.000",
+ /* max */ NULL,
+ /* default */ "1.000",
+ /* units */ "seconds",
+ /* flags */ 0,
+ /* s-text */
+ "How much observed clock step we are willing to accept before "
+ "we panic.",
+ /* l-text */ "",
+ /* func */ NULL
+)
+
+PARAM(
/* name */ connect_timeout,
/* typ */ timeout,
/* min */ "0.000",
More information about the varnish-commit
mailing list