mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
rename "remove fast resume cache" item and check speed limit only once per minute
This commit is contained in:
@@ -1745,7 +1745,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
//only toggle if within first few seconds of minutes
|
||||
NSCalendarDate * nowDate = [NSCalendarDate calendarDate];
|
||||
if ([nowDate secondOfMinute] < AUTO_SPEED_LIMIT_SECONDS)
|
||||
if ([nowDate secondOfMinute] > AUTO_SPEED_LIMIT_SECONDS)
|
||||
return;
|
||||
|
||||
NSCalendarDate * offDate = [NSCalendarDate dateWithTimeIntervalSinceReferenceDate:
|
||||
|
||||
Reference in New Issue
Block a user