lib/foreman_tasks/dynflow.rb in foreman-tasks-0.7.12 vs lib/foreman_tasks/dynflow.rb in foreman-tasks-0.7.13
- old
+ new
@@ -39,11 +39,9 @@
end
config.initialize_world.tap do |world|
@world = world
unless config.remote?
- at_exit { world.terminate.wait }
-
# don't try to do any rescuing until the tables are properly migrated
if !Foreman.in_rake?('db:migrate') && (ForemanTasks::Task.table_exists? rescue(false))
world.auto_execute
ForemanTasks::Task::DynflowTask.consistency_check
end