mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
parent
3e94c10da1
commit
6c7bfa01ac
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Concerns::Domain::Deletable
|
|||
|
||||
def delete_later
|
||||
deletion_time = Time.zone.at(rand(deletion_time_span))
|
||||
DomainDeleteJob.enqueue(id, run_at: deletion_time)
|
||||
DomainDeleteJob.enqueue(id, run_at: deletion_time, priority: 1)
|
||||
logger.info "Domain #{name} is scheduled to be deleted around #{deletion_time}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue