Changeset 10011


Ignore:
Timestamp:
Jan 25, 2010, 2:19:20 AM (12 years ago)
Author:
charles
Message:

(trunk libT) (1) on startup, stagger new torrents' scrapes. (2) reduce the minimum number of block requests to peers.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r10010 r10011  
    411411    t->announceIntervalSec = DEFAULT_ANNOUNCE_INTERVAL_SEC;
    412412    t->announceMinIntervalSec = DEFAULT_ANNOUNCE_MIN_INTERVAL_SEC;
    413     t->scrapeAt = now;
     413    t->scrapeAt = now + tr_cryptoWeakRandInt( 60*10 );
    414414    t->tor = tor;
    415415
  • trunk/libtransmission/peer-msgs.c

    r9979 r10011  
    17061706        int estimatedBlocksInPeriod;
    17071707        double rate;
    1708         const int floor = 2;
     1708        const int floor = 8;
    17091709        const int seconds = REQUEST_BUF_SECS;
    17101710
Note: See TracChangeset for help on using the changeset viewer.