lib/negroku/capistrano/templates/eye/application.eye.erb in negroku-2.8.3 vs lib/negroku/capistrano/templates/eye/application.eye.erb in negroku-2.8.4
- old
+ new
@@ -12,9 +12,11 @@
# All options inherits down to the config leafs.
# except `env`, which merging down
working_dir '<%= current_path %>'
stdall '<%= shared_path %>/log/eye.log'
+ chain grace: <%= fetch(:eye_chaing_grace, 20) %>.seconds
+
trigger :flapping, times: 10, within: 1.minute, retry_in: 10.minutes
check :cpu, every: 10.seconds, below: 100, times: 3 # global check for all processes
<% processes.each do |process_name, options| -%>