diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index 1c8f25323..d5f88b8d0 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -93,6 +93,10 @@ class EppController < ApplicationController @errors.uniq! + # Requested by client, ticket #2688 + # Known issues: error request is exactly 1 second slower and server can handle less load + sleep 1 if !Rails.env.test? || !Rails.env.development? + render_epp_response '/epp/error' end