Closed schafer14 closed 8 years ago
Get is not the place for a write operation. Why can't you use set
to update it?
Yeah, that will work. I need to unbreak the tests too.
No, why can't you call put(key, value, newtime)
instead of changing the library's api?
Yeah that's much simpler. Didn't think of that.
Added a flag to the get function to specify if the expiry time should be updated when a get is done.