Slightly randomize all timeouts.
This commit is contained in:
parent
717ea66d7b
commit
edc08b73a9
6 changed files with 11 additions and 11 deletions
|
|
@ -151,7 +151,7 @@ static void send_mtu_probe_handler(int fd, short events, void *data) {
|
|||
}
|
||||
|
||||
end:
|
||||
event_add(&n->mtuevent, &(struct timeval){timeout, 0});
|
||||
event_add(&n->mtuevent, &(struct timeval){timeout, rand() % 100000});
|
||||
}
|
||||
|
||||
void send_mtu_probe(node_t *n) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue