node-cache-manager-ioredis
node-cache-manager-ioredis copied to clipboard
Missing mset method
cacheManage -> multi_caching.js
line 284:
if (multi) {
if (typeof cache.store.mset !== 'function') {
/**
* Silently fail for store that don't support mset()
*/
return next();
}
keysValues.push(cacheOptions);
keysValues.push(next);
cache.store.mset.apply(cache.store, keysValues);
} else {
cache.store.set(keysValues[0], keysValues[1], cacheOptions, next);
}
you miss mset
you should add:
self.mset = self.set;
Did a rewrite of this package with the mset
method available here: https://www.npmjs.com/package/@tirke/node-cache-manager-ioredis