Commit afad28c9 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Make self_update_interval depend on update_interval.

parent 8f4a3a1b
......@@ -100,7 +100,7 @@ update_hello_interval(struct network *net)
}
net->self_update_interval =
MAX(15000 + net->hello_interval / 2, net->hello_interval);
MAX(update_interval / 2, net->hello_interval);
return rc;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment