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

Implement throttler for Io detections #96

Closed
cedricve opened this Issue Aug 21, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@cedricve
Copy link
Member

cedricve commented Aug 21, 2017

For each event detected, the machinery will trigger the selected Io devices once. The down side is that when a lot of events are detected, the Io devices are massively triggered (an overflow of events).

To fix this, a throttling function needs to be added which will group sequences of events, and only trigger the selected Io device once.

E.g. let's say that we have the Webhook Io selected, and imagine a person passes by which generates 5 events. Currently this will trigger the webhook device 5 times. With the throttling enabled, this would only trigger the Webhook Io device once.

@cedricve cedricve self-assigned this Aug 21, 2017

cedricve added a commit that referenced this issue Oct 21, 2017

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Oct 28, 2017

will be merged in version 2.5

@cedricve cedricve closed this Oct 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment