diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-12-04 16:21:23 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-04 16:21:23 +0300 |
commit | b716bba7e36390b455b3a36ecc5d3b1f9c0d0649 (patch) | |
tree | 652534024bba1ad28a7322bb11c690d7cbdfeffa /app/controllers/projects/clusters_controller.rb | |
parent | f17375b9d03ed420c83ed41d58e363a022606c68 (diff) |
Use status polling definitino
Diffstat (limited to 'app/controllers/projects/clusters_controller.rb')
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index 639874e6231..0800c1ea0b2 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -21,7 +21,7 @@ class Projects::ClustersController < Projects::ApplicationController def status respond_to do |format| format.json do - Gitlab::PollingInterval.set_header(response, interval: 10_000) + Gitlab::PollingInterval.set_header(response, interval: STATUS_POLLING_INTERVAL) render json: ClusterSerializer .new(project: @project, current_user: @current_user) |