mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
parent
d5b96060e0
commit
82c74a4811
1 changed files with 0 additions and 1 deletions
|
@ -114,7 +114,6 @@ class Epp::SessionsController < EppController
|
|||
end
|
||||
|
||||
def connection_limit_ok?
|
||||
return true if Rails.env.test? || Rails.env.development?
|
||||
c = EppSession.where(
|
||||
'registrar_id = ? AND updated_at >= ?', @api_user.registrar_id, Time.zone.now - 1.second
|
||||
).count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue