mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Fix env usage in EppSession model
This commit is contained in:
parent
26c8fe6a3e
commit
495e1a4ae1
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class EppSession < ApplicationRecord
|
|||
self.timeout = (ENV['epp_session_timeout_seconds'] || 300).to_i.seconds
|
||||
|
||||
class_attribute :sessions_per_registrar
|
||||
self.sessions_per_registrar = (ENV['epp_session_limit_per_registrar'] || 4).to_i
|
||||
self.sessions_per_registrar = (ENV['epp_sessions_per_registrar'] || 4).to_i
|
||||
|
||||
alias_attribute :last_access, :updated_at
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue