diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-02-25 04:46:16 +0300 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-02-25 04:50:03 +0300 |
commit | 233cf07083faabcc11b2fa8de04123156d712efb (patch) | |
tree | 576ce97ca187c18f685c9c28a2551598646b718f /app/workers/cluster_wait_for_ingress_ip_address_worker.rb | |
parent | 20897ebc7afe498c7a521dbe9f9c197ee63d346b (diff) |
Remove redundant code and increase delay for ClusterWaitForIngressIpAddressWorker (#42643)
Diffstat (limited to 'app/workers/cluster_wait_for_ingress_ip_address_worker.rb')
-rw-r--r-- | app/workers/cluster_wait_for_ingress_ip_address_worker.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/cluster_wait_for_ingress_ip_address_worker.rb b/app/workers/cluster_wait_for_ingress_ip_address_worker.rb index 72b3c8b49e0..8ba5951750c 100644 --- a/app/workers/cluster_wait_for_ingress_ip_address_worker.rb +++ b/app/workers/cluster_wait_for_ingress_ip_address_worker.rb @@ -3,9 +3,7 @@ class ClusterWaitForIngressIpAddressWorker include ClusterQueue include ClusterApplications - INTERVAL = 30.seconds - - def perform(app_name, app_id, retries_remaining) + def perform(app_name, app_id) find_application(app_name, app_id) do |app| Clusters::Applications::CheckIngressIpAddressService.new(app).execute end |