Use status polling definitino

This commit is contained in:
Shinya Maeda 2017-12-04 22:21:23 +09:00
parent f17375b9d0
commit b716bba7e3
1 changed files with 1 additions and 1 deletions

View File

@ -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)