memcache
memcache copied to clipboard
Lifetime does not work.
Setting the lifetime in the connection settings as so:
this.memcacheClient = new memcacheClient({ server: { server: connectStr, maxConnections: 150 }, lifetime: 0 })
or
this.memcacheClient.set(key, digest, { lifetime: 0, noreply: true });
seems to have no effect.
@electic, try using lifetime: "0". The number 0 evaluates to false when creating the msg to send to memcached, thus rendering in using the default lifetime of 60 seconds... Other lifetimes works as expected 🤷♂️