* add a class for checking pod connectivity * extend pod model to handle new functionality * add an admin frontend to list pods and re-trigger checks manually * add a daily worker to run through all the pods * add unit tests for most of the new code
14 lines
205 B
Ruby
14 lines
205 B
Ruby
|
|
module Workers
|
|
class RecurringPodCheck < Base
|
|
include Sidetiq::Schedulable
|
|
|
|
sidekiq_options queue: :maintenance
|
|
|
|
recurrence { daily }
|
|
|
|
def perform
|
|
Pod.check_all!
|
|
end
|
|
end
|
|
end
|