From 035466cfdf887fe2307862a52fefe451480586ff Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 19 Oct 2014 10:26:21 -0500 Subject: [PATCH] Fix call to PixivUgoiraConverter.delay. Should be `PixivUgoiraConverter.new.delay`, not PixivUgoiraConverter.delay`. --- app/logical/pixiv_ugoira_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logical/pixiv_ugoira_service.rb b/app/logical/pixiv_ugoira_service.rb index c83e68a4a..663ace72e 100644 --- a/app/logical/pixiv_ugoira_service.rb +++ b/app/logical/pixiv_ugoira_service.rb @@ -10,7 +10,7 @@ class PixivUgoiraService end 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 # file distribution wont break