For now the next to auto-start will be the earliest added transfer that is waiting
This commit is contained in:
parent
14cf4c87e6
commit
b0204b34bd
|
@ -970,7 +970,9 @@ static void sleepCallBack(void * controller, io_service_t y,
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!torrentToStart && [torrent waitingToStart])
|
||||
//use as next if it is waiting to start and either no previous is or the previous has later date
|
||||
if ([torrent waitingToStart] && (!torrentToStart
|
||||
|| [[torrentToStart date] compare: [torrent date]] == NSOrderedDescending))
|
||||
torrentToStart = torrent;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue