• A
    redis-cli: interactive reconnection for latency modes. · ccbec34f
    antirez 提交于
    --stat mode already used to reconnect automatically if the server is no
    longer available. This is useful since this is an interactive mode used
    for debugging, however the same applies to --latency and --latency-dist
    modes, so now both use the reconnecting command execution as well.
    
    The reconnection code was modified to use basic VT100 escape sequences
    in order to play better with different kinds of output on the screen
    when the reconnection happens, and to hide the reconnection attempt
    output when finally the reconnection happens.
    ccbec34f
redis-cli.c 69.3 KB