• Alessandro Rubini's avatar
    timeout: randomize intervals as required · 89185bf9
    Alessandro Rubini authored
    The frames should be sent with some dispersion around the timeout
    point.  The new function calculates the correct dispersion, but we
    need to change the setting of next_delay in order to actually spread
    the distribution of announce and other messages.
    
    Also, this commit doesn't spread all message times, some work on the
    field is still needed.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    89185bf9
timeout.c 1.52 KB