[4.0] 0038eeb Forgot about microseconds and reals

Per Buer perbu at varnish-software.com
Thu Mar 13 10:24:30 CET 2014


commit 0038eebb241d2d2e938a2fe2fc6b474c5eea7ab8
Author: Per Buer <perbu at varnish-software.com>
Date:   Mon Mar 3 13:50:43 2014 +0100

    Forgot about microseconds and reals

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 96a4aab..5a7fe6b 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -105,6 +105,9 @@ Durations
 
 Durations are defined by a number and a designation. The number can be a real so 1.5w is allowed.
 
+  ms
+    milliseconds
+
   s
     seconds
 
@@ -130,6 +133,12 @@ Ints
 Certain fields are integers, used as expected. In string context they
 return a string.
 
+Reals
+-----
+
+VCL understands real numbers. As with integers, when used in a string
+context they will return a string.
+
 
 Regular Expressions
 -------------------



More information about the varnish-commit mailing list