Changeset 2324


Ignore:
Timestamp:
Jul 10, 2007, 5:07:18 PM (15 years ago)
Author:
charles
Message:

fix rate control bug reported by John_Clay

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ratecontrol.c

    r2306 r2324  
    2626#include "shared.h"
    2727
    28 #define GRANULARITY_MSEC 200
    29 #define SHORT_INTERVAL_MSEC 1000
     28#define GRANULARITY_MSEC 250
     29#define SHORT_INTERVAL_MSEC 3000
    3030#define LONG_INTERVAL_MSEC 20000
    3131#define HISTORY_SIZE (LONG_INTERVAL_MSEC / GRANULARITY_MSEC)
  • trunk/libtransmission/torrent.c

    r2319 r2324  
    959959
    960960        /* sleep a little while */
    961         tr_wait( tor->runStatus == TR_RUN_STOPPED ? 1600 : 800 );
     961        tr_wait( tor->runStatus == TR_RUN_STOPPED ? 1600 : 600 );
    962962
    963963        /* if we're stopping... */
Note: See TracChangeset for help on using the changeset viewer.