On peak/Off Peak timer with a twist

Feature requests for the Mac OS X version of Transmission
Post Reply
AGSystem
Posts: 26
Joined: Sun Sep 20, 2009 10:02 pm
Location: Australia

On peak/Off Peak timer with a twist

Post by AGSystem »

Ok so over the past few days i have noticed that im getting numerous crashes from transmission 1.93 whenever i go to switch from on peak speeds to off peak speeds.

For some reason whenever the change over happens it crashes the whole system and only a reboot via power button can resolve it.

So i decided to run a few tests.

Off Peak starts at 2am until 8am.

So to make sure that it wasnt just transmission crashing randomly on night 1 i started the client at 1:45am with no speed restrictions in place.

Sure enough the torrents rolled over the 2am changeover with no issues and continued to download overnight without a hitch.

So on night number 2 i tried the same thing but this time i kept the speed limits on.

Again everything ran fine until 2am when the restrictions remove themselves. It was at this point that the beachball appeared and then after 15 mins the system became completely un responsive.

third night i tried a different approach. I set the restricted speed to run all night. this time at 2am there was no change to the unrestricted and sure enough the client ran all night without a hitch.

So from what i can gather the issue seems to be when the client changes from speed limited to non limited modes.

So i was wondering if there was another way around this for now.

Is it at all possible that instead of restricting the amount of speed the client receives, can we instead get a way to change the amount of active torrents within the similar situation.

For example.
1:45am i turn on my Transmission client. Under the bandwidth restrictions tab i can choose that during an on peak time i have 0,1 ,3,4 however many active torrents running. When the off peak time rolls over at 2am that number of active torrents changes to 4, 6, 8 or whatever amount you want to run.

This intern would not affect the speeds that are being dealt with, thus may possibly stop the crashes that seem to be happening on the changeover.
It would mean that effectively i could leave transmission running at all times knowing that nothing will download during the peak if set to 0, then when the off peak rolls over it will "unpause" all the torrents in my queue and resume without any issues.

This would also be a handy feature for others that may not be on an on/off peak quota system for their net connection but share their connection with a home. They could restrict the torrents from downloading during times when traffic is heavy and then have it automatically unrestricted after people go to bed, without the need to manually change any details. (or those not having issues with the speed limiter could use both to get even more control eg 1 torrent at 10k/10k during peak, then 5 torrents after 12am @ 10k/10k, then 5 torrents @ unlimited from 2am until 8am)

If this timer system was at all possible could it be something that could be easily implemented into transmission?
Post Reply