mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 20:27:30 +02:00
Remove hardcoded value
This commit is contained in:
parent
915ebbff08
commit
44e9b1b5c4
2 changed files with 3 additions and 1 deletions
|
@ -368,7 +368,7 @@ module Epp
|
||||||
end
|
end
|
||||||
|
|
||||||
def session_timeout_reached?
|
def session_timeout_reached?
|
||||||
timeout = 5.minutes
|
timeout = ENV['epp_session_timeout_seconds'].to_i.seconds
|
||||||
epp_session.updated_at < (Time.zone.now - timeout)
|
epp_session.updated_at < (Time.zone.now - timeout)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -153,6 +153,8 @@ lhv_keystore_password:
|
||||||
lhv_ca_file: # Needed only in dev mode
|
lhv_ca_file: # Needed only in dev mode
|
||||||
lhv_dev_mode: 'false'
|
lhv_dev_mode: 'false'
|
||||||
|
|
||||||
|
epp_session_timeout_seconds: '300'
|
||||||
|
|
||||||
# Since the keys for staging are absent from the repo, we need to supply them separate for testing.
|
# Since the keys for staging are absent from the repo, we need to supply them separate for testing.
|
||||||
test:
|
test:
|
||||||
payments_seb_bank_certificate: 'test/fixtures/files/seb_bank_cert.pem'
|
payments_seb_bank_certificate: 'test/fixtures/files/seb_bank_cert.pem'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue