Skip to content

Conversation

matstc
Copy link

@matstc matstc commented Apr 22, 2014

This PR adds a built-in notifier to throttle any notifier. It will notify the underlying notifier a maximum of 3 times every hour.

module ExceptionNotifier
class ThrottleNotifier
def initialize options={}
@notifier = ExceptionNotifier.create_notifier(options[:notifier], options[:notifier_options] || {})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let pass max_notifications_per_hour as a configuration option!

@irobayna
Copy link

Any updates on this pull?

@justinko
Copy link

?

@jmehnle
Copy link

jmehnle commented Sep 15, 2016

What does it take to get this merged?

@tkanov
Copy link

tkanov commented Mar 29, 2017

up :)

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

Successfully merging this pull request may close these issues.

6 participants