Opened 14 years ago

Closed 9 years ago

#1330 closed bug (Fixed)

[Scheduler] Torrents in paused mode after restarting deluge while in red zone

Reported by: tim-m89 Owned by: Calum
Priority: trivial Milestone: 1.3.13
Component: Plugin Version: 1.3.0_dev
Keywords: Cc:


deluge:1.3.0-rc1 libtorrent:

Upon transitioning from the scheduler red zone to green, torrents start up again but except for a few which are now in paused mode. How did they get in paused mode?

To be a little more detailed, I think it happens a little like this:

I have 4 torrents, none of which are in paused mode and I am currently in the scheduler's active green zone but I have the queue set to only 2 active like so:

#1 A #2 A #3 Q #4 Q

Upon reaching the red zone the torrents stop but the active ones get assigned a mode of paused so that when the next green zone arrives the lower priority torrents are going instead like so:

#1 P #2 P #3 A #4 A

If it helps to reproduce the bug I am currently starting and stopping deluge client & daemon during each red zone.

Change History (9)

comment:1 by tim-m89, 14 years ago

Those above were not supposed to be track links but the numbers of of each torrent's priority like so:

#1 A
#2 A
#3 Q
#4 Q

#1 P
#2 P
#3 A
#4 A

comment:2 by John Garland, 14 years ago

When the scheduler is in the red zone it pauses the libtorrent session.

The problem is that if you shutdown deluged while the session is paused, it will pause all torrents.

Not really sure how to avoid that...

comment:3 by Damien Churchill, 14 years ago

Could use a state file to keep track of it...

comment:4 by andar, 14 years ago

It might just be easier to set the active torrent limit to 0 in the red state instead of pausing the session.

comment:5 by Damien Churchill, 14 years ago


comment:6 by Calum, 13 years ago

Priority: majortrivial

comment:7 by Calum, 12 years ago

Summary: scheduler plugin causing torrents to be in paused mode[Scheduler] Torrents in paused mode after restarting deluge while in red zone

comment:8 by Calum, 9 years ago

Milestone: 1.3.x1.3.13
Owner: set to Calum
Status: newassigned

comment:9 by Calum, 9 years ago

Resolution: Fixed
Status: assignedclosed

Fixed 1.3-stabe: [73152558317d47d]

Note: See TracTickets for help on using tickets.