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

sdsWrite triggers a threshold event too often #84

Open
MiloradCvjetkovic opened this issue Mar 13, 2025 · 0 comments
Open

sdsWrite triggers a threshold event too often #84

MiloradCvjetkovic opened this issue Mar 13, 2025 · 0 comments
Labels
enhancement New feature or request sds-core Belongs to SDS-Framework/sds

Comments

@MiloradCvjetkovic
Copy link
Collaborator

sdsWrite triggers a threshold event SDS_EVENT_DATA_HIGH whenever there is already data over the threshold in the circular buffer.

Threshold event should only be triggered when an sdsWrite causes filling of the buffer to trigger level or beyond, and each further write, while there is more data in the buffer than threshold setting, should not trigger another threshold event.

This simplifies usage for the user as threshold event could be used for signaling that there is enough data for the algorithm to start processing, but no more threshold events would occur until new set of data is ready.

@MiloradCvjetkovic MiloradCvjetkovic added enhancement New feature or request sds-core Belongs to SDS-Framework/sds labels Mar 13, 2025
@MiloradCvjetkovic MiloradCvjetkovic moved this to Backlog in SDS Framework Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sds-core Belongs to SDS-Framework/sds
Projects
Status: Backlog
Development

No branches or pull requests

1 participant