-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add Ratio limit to Joal #191
Comments
Easier to discuss code under PR. They cost nothing, just fire away.
In the project dir do |
Noted, I've opened the PR! How can I unminify the JS scripts so I can add an option to configure the ratio on the config screen? |
The UI project is hosted at : https://github.com/anthonyraymond/joal-ui |
@anthonyraymond Not sure if this belongs here, but how can I modify the code to the UI and then port the changes to the current repo? For example, if I make changes here, what are the commands to generate this file? |
Hello @ashaychangwani thanks for contributing to the project 👍. You'll find some advice below to help you sort that out. Before you dive in, note that the current version is going to be replaced with a fully rewritten one (won't happen in 2023 IMO, maybe in 2024). I'm trying to rethink the whole project from the ground up and i'm also switching to golang. It's far from being done, i'm doing that on my spare time and i don't have much these days 😆 .
Please follow the following while implementing :
Side note: if you want to try your code without having to build every time:
|
Hi!
Joal is absolutely perfect for my use case, except that it has got me close to getting banned a couple of times, when I forget to take the torrent off and it keeps uploading. Even setting a speed of 1mbps over a span of 3 days can rack up over 200gb of upload, which is suspicious to say the least.
For that, I've added a ratio limit of 1.0. I'm aware that this has already been addressed in the past in #38, but since I needed a temporary fix, I decided to write something myself here: https://github.com/ashaychangwani/joal-ratio/tree/addRatioLimit
I haven't opened a PR yet, because I'm not sure the code is up to your standards, however I just want to use this as a starting point and iterate to make it more functional and cleaner, as well as improving the test coverage.
Could you tell me how I can compile the same code into a way that I can use it with my media-stack?
I'm currently using the following docker-compose script to run Joal:
The text was updated successfully, but these errors were encountered: