remove timeout block

PostArchive isn't subject to statement timeouts so it isn't needed
This commit is contained in:
Albert Yi
2017-03-20 12:31:08 -07:00
committed by GitHub
parent 8341752931
commit fe9f31d871

View File

@@ -45,10 +45,8 @@ module Moderator
end end
def tags def tags
PostArchive.without_timeout do
Queries::Tag.all(min_date, max_level) Queries::Tag.all(min_date, max_level)
end end
end
def posts def posts
ActiveRecord::Base.without_timeout do ActiveRecord::Base.without_timeout do