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: 6efc6d00702ad843a59cb2e34a57ffbfe7d45cf8 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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

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