mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
One second sleep for epp error #2688
This commit is contained in:
parent
e5c9ad8a47
commit
30a8a4c8aa
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue