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

[Feature] Option to set a downloaded file size limit for rule provider #1645

Open
3 tasks done
turtle-ca-chan opened this issue Nov 8, 2024 · 0 comments
Open
3 tasks done
Labels
enhancement New feature or request

Comments

@turtle-ca-chan
Copy link

Verification Steps

  • I have read the documentation and confirmed that this feature is not implemented
  • I have searched for the feature request I want to propose in the Issue Tracker and did not find it
  • I am a non-Chinese user.

Description

Hi and thanks for the project!

For some devices like routers there is a need to conserve resources heavily and sometimes updates of rule lists can cause unforeseen problems. It would be easier to solve them by noticing a warning in the logs rather than looking for the cause of performance problems. So I want to suggest an option to set a downloaded file size limit for rule provider.
For example, something like this:

rule-providers:
example:
type: http
behavior: classical
url: "https://..../file.yaml"
path: "./ruleset/file.yaml"
format: yaml
proxy: Proxy
interval: 86400
size-limit: 100kb

@turtle-ca-chan turtle-ca-chan added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant