Skip to content

Commit fa99339

Browse files
committed
chore: remove unnecessary await
1 parent 03065f4 commit fa99339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/redisClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export class RedisClient implements CommonClient {
259259
async hScanCount(key: string, opt: ScanStreamOptions): Promise<number> {
260260
let count = 0
261261

262-
const stream = await this.redis().hscanStream(key, opt)
262+
const stream = this.redis().hscanStream(key, opt)
263263

264264
await stream.forEach((keyValueList: string[]) => {
265265
count += keyValueList.length / 2

0 commit comments

Comments
 (0)