mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
115693873-log_update_for_cron
This commit is contained in:
parent
abad5accf8
commit
1882af7282
3 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue