Fix call to PixivUgoiraConverter.delay.
Should be `PixivUgoiraConverter.new.delay`, not PixivUgoiraConverter.delay`.
This commit is contained in:
@@ -10,7 +10,7 @@ class PixivUgoiraService
|
|||||||
end
|
end
|
||||||
|
|
||||||
def generate_resizes(source_path, output_path, preview_path)
|
def generate_resizes(source_path, output_path, preview_path)
|
||||||
PixivUgoiraConverter.delay(:queue => Socket.gethostname).convert(source_path, output_path, preview_path, @frame_data)
|
PixivUgoiraConverter.new.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
|
# since the resizes will be delayed, just touch the output file so the
|
||||||
# file distribution wont break
|
# file distribution wont break
|
||||||
|
|||||||
Reference in New Issue
Block a user