Welcome to mirror list, hosted at ThFree Co, Russian Federation.

base_controller.rb « error_tracking « projects « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 62b8b9f3c1a84cc5fb5b8061f3319ee8498259ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class Projects::ErrorTracking::BaseController < Projects::ApplicationController
  POLLING_INTERVAL = 1_000

  feature_category :error_tracking
  urgency :low

  def set_polling_interval
    Gitlab::PollingInterval.set_header(response, interval: POLLING_INTERVAL)
  end
end