Skip to content

Commit 5709f23

Browse files
authored
Merge pull request #12 from hkjeffchan/patch-1
Add method to get all redis client list
2 parents be5ca97 + 2941b20 commit 5709f23

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/redis.service.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ export class RedisService {
1818
}
1919
return this.redisClient.clients.get(name)
2020
}
21-
}
21+
22+
getClients(): Map<string, Redis.Redis> {
23+
return this.redisClient.clients;
24+
}
25+
}

0 commit comments

Comments
 (0)