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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r10874 r10877  
    33943394    score = addValToKey( score, 1, i );
    33953395
     3396    /* prefer torrents we're downloading with */
     3397    i = tr_torrentIsSeed( tor ) ? 1 : 0;
     3398    score = addValToKey( score, 1, i );
     3399
    33963400    /* prefer peers that we might have a chance of uploading to...
    33973401       so lower seed probability is better */
Note: See TracChangeset for help on using the changeset viewer.