We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706ae4e commit 3aa065bCopy full SHA for 3aa065b
redisinsight/api/src/modules/redis/client/ioredis/ioredis.client.ts
@@ -142,7 +142,9 @@ export abstract class IoredisClient extends RedisClient {
142
*/
143
async monitor(): Promise<any> {
144
if (this.client instanceof Redis) {
145
- return this.client.monitor();
+ const monitorClient = this.client.monitor();
146
+ this.client.disconnect();
147
+ return monitorClient;
148
}
149
150
return undefined;
0 commit comments