debian-mirror-gitlab/app/controllers/projects/error_tracking/base_controller.rb
2022-07-29 14:03:07 +02:00

12 lines
304 B
Ruby

# 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