debian-mirror-gitlab/app/controllers/projects/error_tracking/base_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
304 B
Ruby
Raw Normal View History

2020-03-09 13:42:32 +05:30
# frozen_string_literal: true
class Projects::ErrorTracking::BaseController < Projects::ApplicationController
POLLING_INTERVAL = 1_000
2021-01-03 14:25:43 +05:30
feature_category :error_tracking
2022-07-23 23:45:48 +05:30
urgency :low
2021-01-03 14:25:43 +05:30
2020-03-09 13:42:32 +05:30
def set_polling_interval
Gitlab::PollingInterval.set_header(response, interval: POLLING_INTERVAL)
end
end