lib/heartcheck.rb in heartcheck-1.1.1 vs lib/heartcheck.rb in heartcheck-1.2.0

- old
+ new

@@ -1,8 +1,9 @@ module Heartcheck require 'logger' require 'heartcheck/app' + require 'heartcheck/caching_app' require 'heartcheck/checks' require 'heartcheck/executors' require 'heartcheck/errors' require 'heartcheck/services' require 'heartcheck/logger' @@ -100,14 +101,13 @@ # @return [Heartcheck::Executors::Base] def executor @executor ||= Heartcheck::Executors::Base.new end - # change current executor to a threaded implementation # requires 'concurrent-ruby' # - # @return [Hearcheck::Executors::Threaded] + # @return [Heartcheck::Executors::Threaded] def use_threaded_executor! require "concurrent" require "heartcheck/executors/threaded" self.executor = Heartcheck::Executors::Threaded.new