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

Limit notification event #15

Closed
wfernandes opened this issue Dec 19, 2015 · 0 comments
Closed

Limit notification event #15

wfernandes opened this issue Dec 19, 2015 · 0 comments

Comments

@wfernandes
Copy link
Owner

Scenario:
If sensor fire events 10 times within a minute, then I don't want to get 10 SMS messages. Will need to figure out either a rate limiting algorithm or some feedback process.

Rate Limiting Alg. - Every notification can be sent once every 5 minutes since last notification per sensor.
Feedback process - Once a notification is sent for a sensor, further notifications will be subdued until an ACK is received. This should also have a time limit, otherwise user will not get any notifications if he/she forgets to ACK. Maybe 15 min.

wfernandes added a commit that referenced this issue Jan 9, 2016
This prevents notifications from being sent simultaneously.
Now for the same sensor, a notification can be sent only after the configured interval.
Currently the notification interval default is 10 minutes.

Closes issue #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant