Ignore:
Timestamp:
Jun 27, 2008, 2:42:44 AM (14 years ago)
Author:
charles
Message:

part 1 of Aloisius' performance patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ratecontrol.c

    r5949 r6259  
    3131
    3232#define GRANULARITY_MSEC 500
    33 #define SHORT_INTERVAL_MSEC 4000
     33#define SHORT_INTERVAL_MSEC 1000
    3434#define LONG_INTERVAL_MSEC 8000
    3535#define HISTORY_SIZE (LONG_INTERVAL_MSEC / GRANULARITY_MSEC)
     
    5757    for( ;; )
    5858    {
    59         if( r->transfers[i].date < cutoff )
     59        if( r->transfers[i].date <= cutoff )
    6060            break;
    6161
Note: See TracChangeset for help on using the changeset viewer.