Open maxdd opened 7 years ago
What do you mean by 'Torrent Active'?
10 seconds was the fastest I could consistently run the skin at without causing memory leaks
If it updates too quickly, it will create a new instance of deluge-console before closing the previous.
!properly limit update so deluge isn't tied to the rest of the skin updating, and deluge won't update if the previous one is still running.
Is referencing this issue.
If there are Downloading or Uploading torrents it would be better to have more real time values. Anyway it is strange that it requires so much, did you try to measure where it takes so much? Can't you just run a single console (let it standby forever) with cyclic commands every 5 secs?
I hadn't considered having the console run indefinitely. That is probably a much better way to handle things.
console running indefinitely will not work.
I think it would still be possible to adjust the delay based on number of active torrents though.
Rough idea: Torrent Active = 0 --> CheckDelugeRate = 10 Torrent Active != 0 --> CheckDelugeRate = 5
I feel like it it is way to slow when updating stuff