Changeset 2815


Ignore:
Timestamp:
Aug 17, 2007, 3:13:42 AM (15 years ago)
Author:
charles
Message:

whee

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r2814 r2815  
    4343
    4444/* this is how long we'll leave a scrape request hanging before timeout */
    45 #define SCRAPE_TIMEOUT_INTERVAL_SEC 8
     45#define SCRAPE_TIMEOUT_INTERVAL_SEC 10
    4646
    4747/* this is how long we'll leave a tracker request hanging before timeout */
    48 #define REQ_TIMEOUT_INTERVAL_SEC 8
     48#define REQ_TIMEOUT_INTERVAL_SEC 15
    4949
    5050/* the number of peers that is our goal */
     
    607607    Tracker * t = (Tracker*) vt;
    608608
    609     assert( !tr_ptrArrayEmpty( t->scraping ) );
     609    assert( tr_ptrArrayEmpty( t->scraping ) );
    610610
    611611    if( !tr_ptrArrayEmpty( t->scrapeQueue ) )
     
    972972{
    973973    tr_peerIdNew( tor->peer_id, sizeof(tor->peer_id) );
    974     assert( !tor->reannounceTag && "torrent's already started!" );
    975     sendTrackerRequest( tor, "started" );
     974
     975    if( !tor->reannounceTag )
     976        sendTrackerRequest( tor, "started" );
    976977}
    977978
Note: See TracChangeset for help on using the changeset viewer.