summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-11-04 13:54:30 -0700
committerdormando <dormando@rydia.net>2017-11-04 13:54:30 -0700
commitca66b826f25e1db83d191780e0bcac4a070c6911 (patch)
tree1b3ec8a4f53b85599d29a6e2414adfebe33a8250
parent105064c8a6ab98177a73355b72b489e69a2f98e8 (diff)
downloadmemcached-1.5.3.tar.gz
Add warning about time on very low TTL's.1.5.3
-rw-r--r--doc/protocol.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index 92bca45..9c8e8bc 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -89,6 +89,9 @@ of seconds in 30 days); if the number sent by a client is larger than
that, the server will consider it to be real Unix time value rather
than an offset from current time.
+Note that a TTL of 1 will sometimes immediately expire. Time is internally
+updated on second boundaries, which makes expiration time roughly +/- 1s.
+This more proportionally affects very low TTL's.
Error strings
-------------