115693873-log_update_for_cron

This commit is contained in:
Stas 2016-03-29 15:45:19 +03:00
parent abad5accf8
commit 1882af7282
3 changed files with 8 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class DomainUpdateConfirmJob < Que::Job
domain.poll_message!(:poll_pending_update_rejected_by_registrant)
domain.clean_pendings_lowlevel
end
::PaperTrail.whodunnit = "job - #{self.class.name} - #{action}"
destroy # it's best to destroy the job in the same transaction
end
end