Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance tunings #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Performance tunings #5

wants to merge 1 commit into from

Conversation

otapi
Copy link

@otapi otapi commented May 3, 2019

  • make a readable layout with indents
  • moved out the method definition from the while-do cycle (potential memory hog)
  • raised the sleeping of a cycle to 10 minutes
  • checks torrents only which are idle or downloading. It ignores paused or finished torrents.
  • tries to add trackers only when the torrent has less than 10 trackers

- make a readable layout with indents
- moved out the method definition from the while-do cycle (potential memory hog)
- raised the sleeping of a cycle to 10 minutes
- checks torrents only which are idle or downloading. It ignores paused or finished torrents.
- tries to add trackers only when the torrent has less than 10 trackers
@carlosnewmusic
Copy link

#5 the only thing I don't agree with is not to add trakers when you already have 10

@AndrewMarchukov
Copy link
Owner

10 minutes and 10 trackers no need to do it, it's lightweight script

@carlosnewmusic
Copy link

10 minutes and 10 trackers no need to do it, it's lightweight script
already but it could be done in a process with a cron task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants