mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Improve domain discard
- Extract rake task domain:discard - Remove background job when keeping a domain #790
This commit is contained in:
parent
00a30fc019
commit
e776d09f9d
10 changed files with 104 additions and 46 deletions
|
@ -61,6 +61,10 @@ if @cron_group == 'registry'
|
|||
every :day, at: '19:00pm' do
|
||||
runner 'Directo.send_receipts'
|
||||
end if @environment == 'production'
|
||||
|
||||
every 42.minutes do
|
||||
rake 'domain:discard'
|
||||
end
|
||||
end
|
||||
|
||||
every 10.minutes do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue