You've already forked node-redis
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user