mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
feat(microservices): add client opts to redis options
This commit is contained in:
@@ -95,7 +95,9 @@ export class ClientRedis extends ClientProxy {
|
||||
public getClientOptions(error$: Subject<Error>): Partial<ClientOpts> {
|
||||
const retry_strategy = (options: RetryStrategyOptions) =>
|
||||
this.createRetryStrategy(options, error$);
|
||||
|
||||
return {
|
||||
...(this.options || {}),
|
||||
retry_strategy,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user