You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +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
|
// https://oss.redis.com/redisbloom/CountMinSketch_Commands/#cmsinitbyprob
|
||||||
try {
|
try {
|
||||||
await client.cms.initByProb('mycms', 0.001, 0.01);
|
await client.cms.initByProb('mycms', 0.001, 0.01);
|
||||||
console.log('Reserved Top K.');
|
console.log('Initialized Count-Min Sketch.');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('Error, maybe RedisBloom is not installed?:');
|
console.log('Error, maybe RedisBloom is not installed?:');
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
Reference in New Issue
Block a user