CISCO_ACCOUNTING_HACK

Alan DeKok aland at deployingradius.com
Wed Aug 19 10:04:59 CEST 2009


Gabriel Blanchard wrote:
> When you set the load_factor to 100, it caps the delay_time at 1/10th of
> a second.

  Ah...  that's probably not good.

> data->delay_time = (data->srtt * (100 - data->load_factor)) /
> (data->load_factor);
> if (data->delay_time == 0) data->delay_time = USEC / 10;
> 
> My debugging code showing the delay time
> Tue Aug 18 08:19:30 2009 : Info: data->delay_time: 100000
...
> Sure setting the load_factor to 100 never is a good idea. But it
> shouldn't make it slower.

  I'll see if I can fix it.

  Alan DeKok.



More information about the Freeradius-Devel mailing list