lib/heartcheck/generators/templates/config.rb in heartcheck-1.0.7 vs lib/heartcheck/generators/templates/config.rb in heartcheck-1.0.8

- old
+ new

@@ -1,9 +1,16 @@ Heartcheck.setup do |monitor| # monitor has a default logger but you can use yours # default value: Logger.new(STDOUT) # monitor.logger = Rails.logger + # Using threaded executor + # + # With this feature is possible to parallelize io-bound checkers + # using ruby threads, but to enable this feature you need explicitly + # install 'concurrent-ruby' gem on your project + # monitor.use_threaded_executor! + # Checks # For each check you can set the folling options # name: String => root name to show in report page (default: class.name) # functional: Boolean => When is false your check is essential to your application (default: false) # on_error: Block => to customize the errors (default: nil)