lib/lazylead/schedule.rb in lazylead-0.11.2 vs lib/lazylead/schedule.rb in lazylead-0.11.3
- old
+ new
@@ -48,11 +48,11 @@
@trigger.method(task.type).call(task.unit) do
ActiveRecord::Base.connection_pool.with_connection do
if task.props.key? "no_logs"
ORM::Retry.new(task, @log).exec
else
- ORM::Verbose.new(
- ORM::Retry.new(task, @log),
+ ORM::Retry.new(
+ ORM::Verbose.new(task, @log),
@log
).exec
end
end
end