lib/coverband/integrations/background.rb in coverband-5.2.6.rc.1 vs lib/coverband/integrations/background.rb in coverband-5.2.6.rc.2

- old
+ new

@@ -36,12 +36,10 @@ end # NOTE: Normally as processes first start we immediately report, this causes a redis spike on deploys # if deferred is set also sleep frst to spread load sleep(sleep_seconds.to_i) if Coverband.configuration.defer_eager_loading_data? Coverband.report_coverage - Coverband.configuration.view_tracker&.report_views_tracked - Coverband.configuration.route_tracker&.report_routes_tracked - Coverband.configuration.translations_tracker&.save_report + Coverband.configuration.trackers.each { |tracker| tracker.save_report } if Coverband.configuration.verbose logger.debug("Coverband: background reporting coverage (#{Coverband.configuration.store.type}). Sleeping #{sleep_seconds}s") end sleep(sleep_seconds.to_i) unless Coverband.configuration.defer_eager_loading_data? end