summaryrefslogtreecommitdiff
path: root/app/workers/cluster_wait_for_ingress_ip_address_worker.rb
blob: 72b3c8b49e0ebf6187ef009dc3aa1b4c2ed89b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ClusterWaitForIngressIpAddressWorker
  include ApplicationWorker
  include ClusterQueue
  include ClusterApplications

  INTERVAL = 30.seconds

  def perform(app_name, app_id, retries_remaining)
    find_application(app_name, app_id) do |app|
      Clusters::Applications::CheckIngressIpAddressService.new(app).execute
    end
  end
end