Skip to content

Commit

Permalink
Refs #30870 - Added contant for wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
patilsuraj767 committed Dec 21, 2020
1 parent d2c16fa commit d502f4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion definitions/procedures/foreman_tasks/resume.rb
Expand Up @@ -6,10 +6,12 @@ class Resume < ForemanMaintain::Procedure
description 'Resume paused tasks'
end

WAIT_TIME = 30

def run
output << feature(:foreman_tasks).resume_task_using_hammer
with_spinner('Waiting 30 seconds for resumed tasks to start.') do
sleep 30
sleep WAIT_TIME
end
end
end
Expand Down

0 comments on commit d502f4e

Please sign in to comment.