Changeset 12253


Ignore:
Timestamp:
Mar 29, 2011, 3:18:25 PM (12 years ago)
Author:
jordan
Message:

(trunk libT) better scrape management on private trackers.

If a private tracker scrape says that there are no downloaders in the swarm, mark all the peers in the private swarm as seeds. This can greatly reduce unnecessary overhead on large seedboxes. We don't do this same trick on public torrents, since a public tracker won't know of all the peers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r12247 r12253  
    13011301                        tracker->consecutiveFailures = 0;
    13021302                    }
     1303
     1304                    if( tr_torrentIsPrivate( tier->tor ) && !row->downloaders )
     1305                        tr_peerMgrMarkAllAsSeeds( tier->tor );
    13031306                }
    13041307            }
Note: See TracChangeset for help on using the changeset viewer.