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

Adds a throttle notifier to throttle any notifier #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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] || {})
Copy link
Collaborator

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