Skip to content

Commit

Permalink
dbg: redis command
Browse files Browse the repository at this point in the history
  • Loading branch information
clauyan committed Nov 29, 2024
1 parent 26bb28c commit 3bba83c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/server.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ export class ServerModule implements NestModule {
cert: redisConfig.CERTIFICATE_AUTHORITIES,
},
});
const result: string = await redisClient.READWRITE();
this.logger.info(result);
}

/*
Expand All @@ -165,6 +163,8 @@ export class ServerModule implements NestModule {
await redisClient
.on('error', (error: Error) => this.logger.error(`Redis connection failed: ${error.message}`))
.connect();
const result: string = await (redisClient as RedisClientType).READWRITE();
this.logger.info(result);
this.logger.info('Redis-connection made');

const redisStore: RedisStore = new RedisStore({
Expand Down

0 comments on commit 3bba83c

Please sign in to comment.