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

Commit

Permalink
remove unneeded connect calls
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeppner-dataport committed Apr 3, 2024
1 parent 1006e4d commit fcb47d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/socket/socket/redis-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ export class RedisIoAdapter extends IoAdapter {
);
const subClient = pubClient.duplicate();

await pubClient.connect();
// await subClient.connect(); // returns "Error: Redis is already connecting/connected"

this.adapterConstructor = createAdapter(pubClient, subClient);
}

Expand Down

0 comments on commit fcb47d3

Please sign in to comment.