tiny-craft / tiny-rdm

Tiny RDM (Tiny Redis Desktop Manager) - A modern, colorful, super lightweight Redis GUI client for Mac, Windows, and Linux.
https://redis.tinycraft.cc/
GNU General Public License v3.0
8.89k stars 451 forks source link

fix: reset `ReadTimeout`&`ReadTimeout` for sentinel mode through ssh #373

Closed zhang452110549 closed 1 month ago

zhang452110549 commented 1 month ago

处理当使用sentinel模式时,通过ssh隧道连接报错ssh: tcpChan: deadline not supported。 原因:NewSentinelClient在init方法时,对ReadTimeout与WriteTimeout为-2的情况进行了值覆盖,导致后续报错