gitlab-org--gitlab-foss/app/workers/requests_profiles_worker.rb

10 lines
163 B
Ruby
Raw Normal View History

class RequestsProfilesWorker
include Sidekiq::Worker
sidekiq_options queue: :default
def perform
Gitlab::RequestProfiler.remove_all_profiles
end
end