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

Cooldown / Backoff for failure notifications #1

Open
dustinaja opened this issue Dec 14, 2018 · 1 comment
Open

Cooldown / Backoff for failure notifications #1

dustinaja opened this issue Dec 14, 2018 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@dustinaja
Copy link
Member

Currently failing devices notify every 5x run interval. This can be disabled or set to a different interval (although poorly documented). It might be nice to have it cool off to a longer period after a number of notifications have been sent.

https://github.com/aja-video/contra/blob/master/src/collectors/collectorworker.go#L133

https://github.com/aja-video/contra/blob/master/src/configuration/config_file.go#L31

@dustinaja dustinaja added the enhancement New feature or request label Dec 14, 2018
@dustinaja dustinaja added this to the Someday milestone Dec 15, 2018
@dustinaja
Copy link
Member Author

I think I may give this a try. Thinking of trying to quiet it down to 1 per day if there have been more than 5 in the last 24 hours or thereabouts. Seem reasonable @slarti5191 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant