app/services/change_manager/manager.rb in change_manager-0.4.0 vs app/services/change_manager/manager.rb in change_manager-0.4.1

- old
+ new

@@ -1,10 +1,10 @@ module ChangeManager module Manager def queue_change(owner, change_type, context, target) change_id = Change.new_change(owner, change_type, context, target) - Resque.enqueue_in(15.minutes, ChangeManager::BeginChange, change_id) + Resque.enqueue_in(7.minutes, ChangeManager::BeginChange, change_id) end def process_change(change_id) change = Change.find change_id unless change.cancelled? @@ -39,9 +39,10 @@ def notify_target_of(changes) mailer = ChangeManager::NotificationMailer if mailer.send_email(mailer.construct_email(changes)) changes.each { |change| change.notify } + byebug return true end false end end