lib/deimos/utils/db_poller.rb in deimos-ruby-1.24.2 vs lib/deimos/utils/db_poller.rb in deimos-ruby-2.0.0.pre.alpha1
- old
+ new
@@ -14,10 +14,10 @@
pollers = Deimos.config.db_poller_objects.map do |poller_config|
self.class_for_config(poller_config).new(poller_config)
end
executor = Sigurd::Executor.new(pollers,
sleep_seconds: 5,
- logger: Deimos.config.logger)
+ logger: Karafka.logger)
signal_handler = Sigurd::SignalHandler.new(executor)
signal_handler.run!
end
# @param config_name [DBPollerConfig]