[master] cdf7f5b Introduce a parameter value for allowed clock step
Martin Blix Grydeland
martin at varnish-software.com
Fri Nov 4 13:23:05 CET 2016
commit cdf7f5b8b99ce97b21910b8d082725052944e253
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 7bbf54a..d40aedd 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -307,6 +307,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