Duration needs a unit

parent 44c0c6ed
......@@ -124,7 +124,7 @@ Description
the usual s (seconds), m (minutes), h (hours), d (days) and w
(weeks) units. If *s* fails to parse, *fallback* will be used.
Example
set beresp.ttl = std.duration("1w", 3600);
set beresp.ttl = std.duration("1w", 3600s);
integer
--------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment