implement nodeAddressMap for sentinel by elimelt · Pull Request #3145 · redis/node-redis
elimelt
marked this pull request as ready for review
Address PR review comments: - Remove duplicate #getNodeAddress methods from RedisSentinelInternal and RedisSentinelFactory - Add getMappedNode utility function in utils.ts that takes host, port, and nodeAddressMap - Update all callsites to use the new utility function This eliminates code duplication and makes the address mapping logic reusable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters