Trying to set TTL


#1

Hi, I am trying to set TTL for a put request. This is what I did.

var meta= {
   gen: 1,
   meta: 100
}
.... ... 
client.put(key, item, meta, function(res) {
   callback();
});

When I retrieved back the item to check, the meta details is as

meta: { ttl: 4294967295, gen: 5 },

#2

My bad. I had a repetitive job that updates this at 1sec interval. This extended the TTL