revert the last commit -- the Mac client uses the isIdle flag to know when hibernation is allowed
This commit is contained in:
parent
d8a11a33f1
commit
7915b49b03
|
@ -1141,8 +1141,7 @@ torrentGetIdleSecs( const tr_torrent * tor )
|
||||||
bool
|
bool
|
||||||
tr_torrentIsStalled( const tr_torrent * tor )
|
tr_torrentIsStalled( const tr_torrent * tor )
|
||||||
{
|
{
|
||||||
return tr_sessionGetQueueEnabled( tor->session, tr_torrentGetQueueDirection( tor ) )
|
return torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 );
|
||||||
&& ( torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue