Commit 935a27cf authored by Matija Čupić's avatar Matija Čupić

Use 1 minute for status polling interval

parent 99043d24
...@@ -4,7 +4,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController ...@@ -4,7 +4,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
before_action :authorize_google_project_billing, only: [:check] before_action :authorize_google_project_billing, only: [:check]
before_action :authorize_create_cluster!, only: [:new, :create] before_action :authorize_create_cluster!, only: [:new, :create]
STATUS_POLLING_INTERVAL = 10_000 STATUS_POLLING_INTERVAL = 1.minute.to_i
def login def login
begin begin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment