Changeset 10876 for branches


Ignore:
Timestamp:
Jun 26, 2010, 6:49:27 PM (12 years ago)
Author:
charles
Message:

(2.0x libT) #3329 "connection problems when downloading" -- when deciding which peers to connect to, take download/seed status into account

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/libtransmission/peer-mgr.c

    r10875 r10876  
    33573357    score = addValToKey( score, 1, i );
    33583358
     3359    /* prefer torrents we're downloading with */
     3360    i = tr_torrentIsSeed( tor ) ? 1 : 0;
     3361    score = addValToKey( score, 1, i );
     3362
    33593363    /* prefer peers that we might have a chance of uploading to...
    33603364       so lower seed probability is better */
Note: See TracChangeset for help on using the changeset viewer.