[Babel-users] failing over faster?

Dave Taht dave.taht at gmail.com
Sun Apr 24 20:46:55 UTC 2016


groovy. I will try it as soon as I can

This showed some potential for doing it faster than that:

http://stackoverflow.com/questions/7225888/how-can-i-monitor-the-nic-statusup-down-in-a-c-program-without-polling-the-ker

On Sun, Apr 24, 2016 at 1:21 PM, Juliusz Chroboczek
<jch at pps.univ-paris-diderot.fr> wrote:
>> # and we fail over in 32 seconds
>
> What happens if you apply the following patch?
>
> diff --git a/babeld.c b/babeld.c
> index 3127e72..0183b32 100644
> --- a/babeld.c
> +++ b/babeld.c
> @@ -744,7 +744,7 @@ main(int argc, char **argv)
>
>          if(timeval_compare(&check_interfaces_timeout, &now) < 0) {
>              check_interfaces();
> -            schedule_interfaces_check(30000, 1);
> +            schedule_interfaces_check(1000, 1);
>          }
>
>          if(now.tv_sec >= expiry_time) {



-- 
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org



More information about the Babel-users mailing list