9 lines
253 B
Ruby
9 lines
253 B
Ruby
# 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
|