• antirez's avatar
    Sentinel: PING trigger improved · 0eb0b55f
    antirez authored
    It's ok to ping as soon as the ping period has elapsed since we received
    the last PONG, but it's not good that we ping again if there is a
    pending ping... With this change we'll send a new ping if there is one
    pending only if two times the ping period elapsed since the ping which
    is still pending was sent.
    0eb0b55f
sentinel.c 157 KB