Ignore:
Timestamp:
Nov 26, 2008, 2:57:32 AM (12 years ago)
Author:
charles
Message:

(libT) performance tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r7154 r7157  
    257257    const double pulses_per_history = (double)HISTORY_MSEC / period_msec;
    258258    const double min = desired_bytes_per_pulse * 0.90;
    259     const double max = desired_bytes_per_pulse * 1.50;
     259    const double max = desired_bytes_per_pulse * 1.20;
    260260    const double next_pulse_bytes = desired_bytes_per_pulse * ( pulses_per_history + 1 )
    261261                                  - ( current_bytes_per_pulse * pulses_per_history );
Note: See TracChangeset for help on using the changeset viewer.