()
| 113 | } |
| 114 | |
| 115 | public createRedisClient(): Redis { |
| 116 | const clientInfoTag = this.getOptionsProp(this.options, 'clientInfoTag'); |
| 117 | return new redisPackage({ |
| 118 | port: REDIS_DEFAULT_PORT, |
| 119 | host: REDIS_DEFAULT_HOST, |
| 120 | ...this.getClientOptions(), |
| 121 | ...(clientInfoTag && { clientInfoTag }), |
| 122 | lazyConnect: true, |
| 123 | }); |
| 124 | } |
| 125 | |
| 126 | public getMessageHandler(pub: Redis) { |
| 127 | return this.options?.wildcards |
no test coverage detected