more aggressive timeout constraints for loose source queries

This commit is contained in:
albert
2013-03-02 20:30:59 -05:00
parent b9b92b6264
commit b34080d0af
3 changed files with 11 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ class Post < ActiveRecord::Base
module ImageMethods
def has_large?
image_width > Danbooru.config.large_image_width
image_width.present? && image_width > Danbooru.config.large_image_width
end
def has_large