more aggressive timeout constraints for loose source queries
This commit is contained in:
@@ -4,6 +4,7 @@ class PostsController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
rescue_from PostSets::SearchError, :with => :rescue_exception
|
||||
rescue_from Post::SearchError, :with => :rescue_exception
|
||||
rescue_from ActiveRecord::StatementInvalid, :with => :rescue_exception
|
||||
|
||||
def index
|
||||
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit])
|
||||
|
||||
Reference in New Issue
Block a user