Commit 8015b1ab authored by Andreas Plesner Jacobsen's avatar Andreas Plesner Jacobsen Committed by Tollef Fog Heen

Duration needs a unit

parent d6bc813c
......@@ -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