]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/report.rb.erb
Increase allowed time for chef runs
[chef.git] / cookbooks / chef / templates / default / report.rb.erb
index 0317f92865d54b69643a8ec7a6234e28109183c9..6b8ec5b9c027cd23df9b9a602bb2139c2b2b228b 100644 (file)
@@ -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