Class: Webhookdb::Jobs::IcalendarDeleteStaleCancelledEvents

Inherits:
Object
  • Object
show all
Extended by:
Async::ScheduledJob
Defined in:
lib/webhookdb/jobs/icalendar_delete_stale_cancelled_events.rb

Instance Method Summary collapse

Methods included from Async::ScheduledJob

extended

Instance Method Details

#_performObject



12
13
14
15
16
17
18
# File 'lib/webhookdb/jobs/icalendar_delete_stale_cancelled_events.rb', line 12

def _perform
  Webhookdb::ServiceIntegration.where(service_name: "icalendar_event_v1").each do |sint|
    self.with_log_tags(sint.log_tags) do
      sint.replicator.delete_stale_cancelled_events
    end
  end
end