Skip to content

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

@he2ss

Description

@he2ss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions