1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00

Fixed erroneous reference to Top-K (#2158)

This commit is contained in:
Simon Prickett
2022-06-15 20:18:36 +01:00
committed by GitHub
parent f269319f42
commit e1c13f874a

View File

@ -15,7 +15,7 @@ async function countMinSketch() {
// https://oss.redis.com/redisbloom/CountMinSketch_Commands/#cmsinitbyprob
try {
await client.cms.initByProb('mycms', 0.001, 0.01);
console.log('Reserved Top K.');
console.log('Initialized Count-Min Sketch.');
} catch (e) {
console.log('Error, maybe RedisBloom is not installed?:');
console.log(e);