Sha256: e4f979052072513efbcb8582fb4c15590c783984af6b4adbc34a8232e2cd5ccf
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
module InsightsCloud module Async class InsightsScheduledSync < ::Actions::EntryAction include ::Actions::RecurringAction def plan unless Setting[:allow_auto_insights_sync] logger.debug( 'The scheduled process is disabled due to the "allow_auto_insights_sync" setting being set to false.' ) return end plan_full_sync end def plan_full_sync plan_action InsightsFullSync end def rescue_strategy_for_self Dynflow::Action::Rescue::Fail end def logger action_logger end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-5.0.35 | lib/insights_cloud/async/insights_scheduled_sync.rb |