Skip to content

Delay your E mails and notifications

adriancuadros edited this page Nov 20, 2011 · 1 revision

You will most likely want to delay notifications, specially e-mail.

Currently Kublog only handles DELAYED JOB but is prepared to handle different strategies, so if you wish to add Resque or any other, you are welcome to contribute.

To do this add the following configuration to your kublog.rb file and modify it to suit your needs.

config.notification_processing = {:development => :delayed_job,
                                  :test => :immediate,
                                  :staging => :delayed_job,
                                  :production => :delayed_job }[Rails.env.to_sym]
Clone this wiki locally