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

decisions fetching from Crowdsec is always with param startup=true #2

Open
he2ss opened this issue Aug 16, 2024 · 0 comments
Open

decisions fetching from Crowdsec is always with param startup=true #2

he2ss opened this issue Aug 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@he2ss
Copy link

he2ss commented Aug 16, 2024

Hi again o/

In this line we can see the decisions fetching with the param startup=true which means to always retrieve all the active decisions. To improve the decisions fetching, as you're using a stream fetching mechanism, you can use the first request with the param startup=true (on the plugin start) to get all active decisions, then avoid using this param to get only the new decisions.

@mostafahussein mostafahussein added the enhancement New feature or request label Aug 16, 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

2 participants