Changeset 3309


Ignore:
Timestamp:
Oct 7, 2007, 4:14:58 AM (15 years ago)
Author:
charles
Message:

try to connect to peers faster when a torrent is initially started.

File:
1 edited

Legend:

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

    r3295 r3309  
    10951095    {
    10961096        t->isRunning = 1;
    1097         t->reconnectTimer = tr_timerNew( t->manager->handle, reconnectPulse, t, RECONNECT_PERIOD_MSEC );
    1098         t->rechokeTimer = tr_timerNew( t->manager->handle, rechokePulse, t, RECHOKE_PERIOD_MSEC );
     1097
     1098        t->reconnectTimer = tr_timerNew( t->manager->handle,
     1099                                         reconnectPulse, t,
     1100                                         RECONNECT_PERIOD_MSEC );
     1101
     1102        t->rechokeTimer = tr_timerNew( t->manager->handle,
     1103                                       rechokePulse, t,
     1104                                       RECHOKE_PERIOD_MSEC );
     1105
     1106        reconnectPulse( t );
     1107
     1108        rechokePulse( t );
    10991109    }
    11001110
Note: See TracChangeset for help on using the changeset viewer.