We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb5831d commit 5e2d2a0Copy full SHA for 5e2d2a0
packages/client/lib/client/index.ts
@@ -774,9 +774,8 @@ export default class RedisClient<
774
commands.push({cmd: ['CLIENT', 'TRACKING', 'ON']});
775
}
776
777
- const { tls, host } = this.#options!.socket as RedisTcpSocketOptions;
778
- const maintenanceHandshakeCmd = await EnterpriseMaintenanceManager.getHandshakeCommand(!!tls, host!, this.#options!);
779
const maintenanceHandshakeCmd = await EnterpriseMaintenanceManager.getHandshakeCommand(this.#options);
+
780
if(maintenanceHandshakeCmd) {
781
commands.push(maintenanceHandshakeCmd);
782
};
0 commit comments