Don't send "408 Request timeout" responses from the data browser as it
seems to make some browsers automatically retry.
This commit is contained in:
parent
fdbdc9f471
commit
ae4ece2450
1 changed files with 2 additions and 2 deletions
|
@ -86,11 +86,11 @@ private
|
|||
end
|
||||
rescue ActionView::TemplateError => ex
|
||||
if ex.original_exception.is_a?(Timeout::Error)
|
||||
render :action => "timeout", :status => :request_timeout
|
||||
render :action => "timeout"
|
||||
else
|
||||
raise
|
||||
end
|
||||
rescue Timeout::Error
|
||||
render :action => "timeout", :status => :request_timeout
|
||||
render :action => "timeout"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue