Commit 274d95c2 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Tweak urgent jitter to 100ms.

parent 97f98000
......@@ -825,6 +825,6 @@ update_jitter(struct network *net, int urgent)
{
unsigned interval = net->hello_interval * 1000;
if(urgent)
interval = MIN(interval, 500);
interval = MIN(interval, 100);
return (interval / 2 + random() % interval);
}
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