Open thebigredgeek opened 7 years ago
this.client.set(p,
val,
{
prevExist: true,
ttl: this.expire
}
)
Yea, we need to add compatibility for later versions of etcd. PRs welcome
unfortunately this lib seems pretty dead to me, don't know if a PR would worth it...
If you want to refresh a TTL on 2.3.x+, you cannot send a key with the SET operation. There doesn't appear to be a way to do that with this lib