MCPcopy
hub / github.com/nestjs/nest / getClientOptions

Method getClientOptions

packages/microservices/server/server-redis.ts:253–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 }
252
253 public getClientOptions(): Partial<RedisOptions['options']> {
254 const retryStrategy = (times: number) => this.createRetryStrategy(times);
255
256 return {
257 ...(this.options || {}),
258 retryStrategy,
259 };
260 }
261
262 public createRetryStrategy(times: number): undefined | number | void {
263 if (this.isManuallyClosed) {

Callers 1

createRedisClientMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected