Skip to content

Commit

Permalink
Remove test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed Feb 6, 2018
1 parent d5b9606 commit 82c74a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/epp/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def ip_white?
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
Expand Down

0 comments on commit 82c74a4

Please sign in to comment.