Sha256: 6e85f8184ddf7203b3d78e31bbee493a64d48087fd79de1e8a4d1aa289a6e8e6
Contents?: true
Size: 600 Bytes
Versions: 7
Compression:
Stored size: 600 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 end end end
Version data entries
7 entries across 7 versions & 1 rubygems