Ignore:
Timestamp:
Aug 7, 2011, 7:24:33 PM (10 years ago)
Author:
jordan
Message:

Add a mechanism for enabling/disabling the stalled minutes feature. This is a pre-existing feature in the Mac client.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r12627 r12640  
    11421142tr_torrentIsStalled( const tr_torrent * tor )
    11431143{
    1144     return torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 );
     1144    return tr_sessionGetQueueStalledEnabled( tor->session )
     1145        && ( torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 ) );
    11451146}
    11461147
Note: See TracChangeset for help on using the changeset viewer.