2020-01-06 19:07:50 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Projects::ErrorTracking::BaseController < Projects::ApplicationController
|
|
|
|
POLLING_INTERVAL = 1_000
|
|
|
|
|
2020-10-08 14:08:32 -04:00
|
|
|
feature_category :error_tracking
|
|
|
|
|
2020-01-06 19:07:50 -05:00
|
|
|
def set_polling_interval
|
|
|
|
Gitlab::PollingInterval.set_header(response, interval: POLLING_INTERVAL)
|
|
|
|
end
|
|
|
|
end
|