mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
parent
d34e6430a2
commit
1dc6ef7ddf
9 changed files with 269 additions and 0 deletions
|
@ -152,6 +152,12 @@ action_mailer_default_port: # default: no port (80)
|
|||
action_mailer_default_from: # no-reply@example.com
|
||||
action_mailer_force_delete_from: # `From` header for `DomainDeleteMailer#forced` email
|
||||
|
||||
lhv_keystore:
|
||||
lhv_keystore_password:
|
||||
lhv_keystore_alias:
|
||||
lhv_ca_file: # Needed only in dev mode
|
||||
lhv_dev_mode: 'false'
|
||||
|
||||
# Since the keys for staging are absent from the repo, we need to supply them separate for testing.
|
||||
test:
|
||||
payments_seb_bank_certificate: 'test/fixtures/files/seb_bank_cert.pem'
|
||||
|
@ -161,6 +167,9 @@ test:
|
|||
action_mailer_default_host: 'registry.test'
|
||||
action_mailer_default_from: 'no-reply@registry.test'
|
||||
action_mailer_force_delete_from: 'legal@registry.test'
|
||||
lhv_keystore: 'test/fixtures/files/keystore.jks'
|
||||
lhv_keystore_password: 'testtest'
|
||||
lhv_keystore_alias: 'testtest'
|
||||
|
||||
# Airbrake // Errbit:
|
||||
airbrake_host: "https://your-errbit-host.ee"
|
||||
|
|
|
@ -57,6 +57,13 @@ if @cron_group == 'registry'
|
|||
every 42.minutes do
|
||||
rake 'domain:discard'
|
||||
end
|
||||
|
||||
# Should be at least once every 4 days, since according to LHV specs:
|
||||
# "Unread messages older than 5 days are automatically scheduled for deletion"
|
||||
# https://partners.lhv.ee/en/connect/#messaging
|
||||
every :day, at: '12:01am' do
|
||||
rake 'invoices:process_payments'
|
||||
end
|
||||
end
|
||||
|
||||
every 10.minutes do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue