Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@turtle-ca-chan

Description

@turtle-ca-chan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions