valeriansaliou / vigil

🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
https://crates.io/crates/vigil-server
Mozilla Public License 2.0
1.7k stars 125 forks source link

Add a `enable_timer_backoff` config option to avoid spamming reminders #103

Closed Eijebong closed 2 years ago

Eijebong commented 2 years ago

This is pretty simple, we increment a counter every time we send a reminder and we multiply the reminder_interval by its value.

If it's disabled then the counter stays at 1 at all time so we can avoid having a separate branch to check if we should take it into account.

Fixes #58