diff --git a/lib/scheduler.rb b/lib/scheduler.rb index a465c1359..4e47cd783 100644 --- a/lib/scheduler.rb +++ b/lib/scheduler.rb @@ -26,7 +26,7 @@ def call_worker(clz) clz = clz.constantize if clz.is_a?(String) puts "invoking #{clz.name}" - clz.new.perform_async + clz.perform_async puts "fininsh #{clz.name}" end