You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| closeClient |`boolean`|`true`|`false`| If set to `true`, all clients will be closed automatically on nestjs application shutdown. To use `closeClient`, you **must enable listeners** by calling `app.enableShutdownHooks()`. [Read more about the application shutdown.](https://docs.nestjs.com/fundamentals/lifecycle-events#application-shutdown)|
108
92
| commonOptions |[RedisOptions](https://luin.github.io/ioredis/index.html#RedisOptions)|`undefined`|`false`| Common options to be passed to each client. |
109
-
| readyLog |`boolean`|`false`|`false`| If set to `true`, then ready logging will be displayed when the client is ready. |
93
+
| readyLog |`boolean`|`true`|`false`| If set to `true`, then ready logging will be displayed when the client is ready. |
110
94
| errorLog |`boolean`|`true`|`false`| If set to `true`, then errors that occurred while connecting will be displayed by the built-in logger. |
111
95
| config |`RedisClientOptions`\|`RedisClientOptions`[]|`undefined`|`false`| Used to specify single or multiple clients. |
112
96
@@ -497,18 +481,3 @@ export class AppModule {}
497
481
```
498
482
499
483
And there we go.
500
-
501
-
### Testing
502
-
503
-
This package exposes `getRedisToken()` function that returns an internal injection token based on the provided context. Using this token, you can provide a mock implementation of the redis instance using any of the standard custom provider techniques, including `useClass`, `useValue`, and `useFactory`.
0 commit comments