Open cevio opened 4 years ago
cacheManage -> multi_caching.js line 284:
multi_caching.js
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
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
cacheManage ->
multi_caching.js
line 284:you miss
mset
you should add: