app/lib/actions/proxy_action.rb in foreman-tasks-2.0.1 vs app/lib/actions/proxy_action.rb in foreman-tasks-2.0.2
- old
+ new
@@ -255,10 +255,10 @@
failed_proxy_tasks << format_exception(exception)
output[:proxy_task_id] = nil
if failed_proxy_tasks.count < options[:retry_count]
suspend do |suspended_action|
@world.clock.ping suspended_action,
- Time.zone.now + options[:retry_interval],
+ Time.now.getlocal + options[:retry_interval],
event
end
else
raise exception
end