fixes for ugoira convert

This commit is contained in:
r888888888
2014-10-22 22:10:01 -07:00
parent 4ef18c61aa
commit e8f973601c
2 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class PixivUgoiraService
end
def generate_resizes(source_path, output_path, preview_path)
PixivUgoiraConverter.new.delay(:queue => Socket.gethostname).convert(source_path, output_path, preview_path, @frame_data)
PixivUgoiraConverter.delay(:queue => Socket.gethostname).convert(source_path, output_path, preview_path, @frame_data)
# since the resizes will be delayed, just touch the output file so the
# file distribution wont break