gitlab-org--gitlab-foss/app/workers/requests_profiles_worker.rb
2016-07-26 20:06:09 +02:00

9 lines
163 B
Ruby

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