Commit 17e74ba8 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Be more permissive when forwarding requests.

parent 0eae7322
...@@ -180,7 +180,7 @@ request_redundant(struct network *net, ...@@ -180,7 +180,7 @@ request_redundant(struct network *net,
return 1; return 1;
if(timeval_minus_msec(&now, &request->time) < if(timeval_minus_msec(&now, &request->time) <
(net ? MIN(net->hello_interval, 10000) : 10000)) (net ? MIN(net->hello_interval, 1000) : 1000))
/* Fairly recent. */ /* Fairly recent. */
return 1; return 1;
......
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