Skip to content

Commit

Permalink
bug 修复
Browse files Browse the repository at this point in the history
  • Loading branch information
pakizheng committed Jan 11, 2024
1 parent c83a971 commit f3b7874
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ services:
im-web:
image: zhengpq/im-web:latest
container_name: im-web
ports:
- "8000:8000"
network_mode: "host"
2 changes: 1 addition & 1 deletion src/gateways/redis-io-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class RedisIoAdapter extends IoAdapter {
private adapterConstructor: ReturnType<typeof createAdapter>;

async connectToRedis(): Promise<void> {
const pubClient = createClient({ url: `redis://127.0.0.1:6379` });
const pubClient = createClient({ url: `redis://106.53.170.67:6379` });
const subClient = pubClient.duplicate();

await Promise.all([pubClient.connect(), subClient.connect()]);
Expand Down

0 comments on commit f3b7874

Please sign in to comment.