From: Tom Hughes Date: Fri, 9 Dec 2016 21:39:43 +0000 (+0000) Subject: Increase allowed time for chef runs X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/9001884cfd99a46391b9e39845b5f6f5dd64d41c Increase allowed time for chef runs --- diff --git a/cookbooks/chef/templates/default/report.rb.erb b/cookbooks/chef/templates/default/report.rb.erb index 0317f9286..6b8ec5b9c 100644 --- a/cookbooks/chef/templates/default/report.rb.erb +++ b/cookbooks/chef/templates/default/report.rb.erb @@ -17,7 +17,7 @@ class Chef if failed? && !exception.is_a?(SystemExit) subject = "Chef run failed on #{node.name}" message = "#{run_status.formatted_exception}\n" - elsif elapsed_time > 300 + elsif elapsed_time > 600 subject = "Chef run took #{elapsed_time} on #{node.name}" message = "" end