mirror of
https://github.com/internetee/registry.git
synced 2025-06-02 10:48:37 +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
|
||||
|
||||
def session_timeout_reached?
|
||||
timeout = 5.minutes
|
||||
timeout = ENV['epp_session_timeout_seconds'].to_i.seconds
|
||||
epp_session.updated_at < (Time.zone.now - timeout)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue