python-memcached icon indicating copy to clipboard operation
python-memcached copied to clipboard

Question: append() with timeout

Open charleswhchan opened this issue 9 years ago • 0 comments

What happens when append() is used with timeout?

  1. Does the timeout apply to the newest item only? ie each item will expiry based on the time the item was added
  2. (or) Does it refresh the expiry for the "list"? ie all items within the list will expiry based based on the current timeout?

I have been doing some tests and seeing some odd behavior. I couldn't quite figure out why list grows and shrinks based on the timeout. Would it be possible to clarify in the documentation how append() is expected to work when a timeout value is set?

Thanks!

charleswhchan avatar Jan 06 '17 19:01 charleswhchan