lib/negroku/capistrano/templates/eye/_sphinx.erb in negroku-2.7.1 vs lib/negroku/capistrano/templates/eye/_sphinx.erb in negroku-2.8.0
- old
+ new
@@ -7,8 +7,13 @@
# soft restart
restart_command "<%= fetch(:rbenv_prefix) %> bundle exec rake ts:restart"
check :cpu, :every => 30, :below => 80, :times => 3
- start_timeout 100.seconds
- restart_grace 30.seconds
+ start_timeout <%= options[:start_timeout] %>.seconds
+ stop_timeout <%= options[:stop_timeout] %>.seconds
+ restart_timeout <%= options[:restart_timeout] %>.seconds
+
+ start_grace <%= options[:start_grace] %>.seconds
+ stop_grace <%= options[:stop_grace] %>.seconds
+ restart_grace <%= options[:restart_grace] %>.seconds
end