Sha256: f1df4930b2dc5fda857c2c0d65d0336da5c135ab36aed24cc857bd9278107c82
Contents?: true
Size: 315 Bytes
Versions: 4
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true module Motor class Admin < ::Rails::Engine initializer 'motor.alerts.scheduler' do next if defined?(Sidekiq) && Sidekiq.server? Motor::Alerts::Scheduler::SCHEDULER_TASK.execute Motor::Alerts::ScheduledAlertsCache::UPDATE_ALERTS_TASK.execute end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
motor-admin-0.1.12 | lib/motor/admin.rb |
motor-admin-0.1.11 | lib/motor/admin.rb |
motor-admin-0.1.10 | lib/motor/admin.rb |
motor-admin-0.1.9 | lib/motor/admin.rb |