Closed xavierchow closed 5 years ago
Done with v0.2.1, @makara can you help to pubilsh to npm?
can you give me your npm username? I can add you as a maintainer.
another thing, you forgot to update the changelog.
my npm account: xavierchow
invited
shipped with v0.2.1, closing.
There is a limitation of CB TTL: http://docs.couchbase.com/sdk-api/couchbase-node-client-2.1.2/Bucket.html#touch
So if you want a TTL > 30day, CB will see it as an absolute time from epoch. My idea is the
mixin
checks theoption.ttl
if it's > 30 days, we see it as a delta, i.e. resetexpiry
to Date.now() + option.ttl.@makara