diff --git a/src/redisClient.ts b/src/redisClient.ts index 7d8a67f..7bcfd3f 100644 --- a/src/redisClient.ts +++ b/src/redisClient.ts @@ -259,7 +259,7 @@ export class RedisClient implements CommonClient { async hScanCount(key: string, opt: ScanStreamOptions): Promise { let count = 0 - const stream = await this.redis().hscanStream(key, opt) + const stream = this.redis().hscanStream(key, opt) await stream.forEach((keyValueList: string[]) => { count += keyValueList.length / 2