Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
Redis: Fix infinite connect/disconnect loops (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianovagos authored Apr 19, 2021
1 parent 4a39848 commit fa9dcb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Redis extends Module {
/**
* Connecting to the Redis database with the module
*/
async connect() {
async connectAll() {
await this.connect();
await this.rts.connect();
await this.rejson.connect();
Expand All @@ -69,7 +69,7 @@ export class Redis extends Module {
/**
* Disconnecting from the Redis database with the module
*/
async disconnect() {
async disconnectAll() {
await this.disconnect();
await this.rts.disconnect();
await this.rejson.disconnect();
Expand Down

0 comments on commit fa9dcb7

Please sign in to comment.