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

Fix infinite connect/disconnect loops #77

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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