Changeset 10480


Ignore:
Timestamp:
Apr 14, 2010, 1:36:43 PM (13 years ago)
Author:
charles
Message:

(trunk) #1869 "new status for torrents that reached the seed ratio" -- add temporary debug messages to help track down the issue leena's reporting in that ticket

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10479 r10480  
    325325    if( tor->isRunning && tr_torrentIsSeedRatioDone( tor ) )
    326326    {
     327        tr_torinf( tor, "Seed ratio reached; pausing torrent" );
     328
    327329        tr_torrentStop( tor );
    328330
     
    14291431        /* allow finished torrents to be resumed */
    14301432        if( tr_torrentIsSeedRatioDone( tor ) )
     1433        {
     1434            tr_torinf( tor, "Restarted manually -- disabling its seed ratio" );
    14311435            tr_torrentSetRatioMode( tor, TR_RATIOLIMIT_UNLIMITED );
     1436        }
    14321437
    14331438        tr_verifyRemove( tor );
     
    15341539{
    15351540    tr_torrent * tor = vtor;
     1541    tr_torinf( tor, "Pausing" );
    15361542
    15371543    assert( tr_isTorrent( tor ) );
  • trunk/macosx/Controller.m

    r10469 r10480  
    12851285    //iterate through instead of all at once to ensure no conflicts
    12861286    for (Torrent * torrent in torrents)
     1287    {
     1288        tr_inf( "restarting a torrent in resumeTorrentsNoWait" );
    12871289        [torrent startTransfer];
     1290    }
    12881291   
    12891292    [self updateUI];
     
    18241827                if (desiredDownloadActive > 0)
    18251828                {
     1829                    tr_inf( "restarting download torrent in mac queue" );
    18261830                    [torrent startTransfer];
    18271831                    if ([torrent isActive])
     
    18341838                if (desiredSeedActive > 0)
    18351839                {
     1840                    tr_inf( "restarting seed torrent in mac queue" );
    18361841                    [torrent startTransfer];
    18371842                    if ([torrent isActive])
  • trunk/macosx/Torrent.m

    r10478 r10480  
    287287    if (![self isActive] && [self alertForRemainingDiskSpace])
    288288    {
     289        tr_torinf( fHandle, "restarting via startTransfer" );
    289290        tr_torrentStart(fHandle);
    290291        [self update];
     
    317318{
    318319    if (fResumeOnWake)
     320    {
     321        tr_torinf( fHandle, "restarting because of wakeUp" );
    319322        tr_torrentStart(fHandle);
     323    }
    320324}
    321325
Note: See TracChangeset for help on using the changeset viewer.