• antirez's avatar
    Cluster: fix gossip section ping/pong times encoding. · 8c829d9e
    antirez authored
    The gossip section times are 32 bit, so cannot store the milliseconds
    time but just the seconds approximation, which is good enough for our
    uses. At the same time however, when comparing the gossip section times
    of other nodes with our node's view, we need to convert back to
    milliseconds.
    
    Related to #3929. Without this change the patch to reduce the traffic in
    the bus message does not work.
    8c829d9e
cluster.c 209 KB