mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -1141,8 +1141,7 @@ torrentGetIdleSecs( const tr_torrent * tor )
|
|||
bool
|
||||
tr_torrentIsStalled( const tr_torrent * tor )
|
||||
{
|
||||
return tr_sessionGetQueueEnabled( tor->session, tr_torrentGetQueueDirection( tor ) )
|
||||
&& ( torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 ) );
|
||||
return torrentGetIdleSecs( tor ) > ( tr_sessionGetQueueStalledMinutes( tor->session ) * 60 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue