Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement throttler for Io detections #96
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.